SILC Core Library SILC Auth API SILC Channel API SILC Command API SILC ID API SILC ID Cache API SILC Modes SILC Notify API SILC Packet API SILC Argument API SILC Private API SILC Math Library SILC Math API SILC MP API SILC SFTP Library SILC SFTP API SILC SFTP Filesystems SILC Utility Library SILC Buffer API SILC Buffer Format API SILC Buffer Utility API SILC Hash Table API SILC Log and Debug API SILC Memory API SILC Mutex API SILC Thread API SILC Net API SILC Schedule API SILC Socket Connection API SILC Protocol API SILC Util API SILC Zip API SILC List API SILC Dynamic List API SILC Key Exchange Library SILC SKE API SILC SKE Status SILC Client Library SILC Client API SILC Crypto Library SILC Cipher API SILC Hash API SILC HMAC API SILC PKCS API SILC RNG API
Function silc_net_create_connection_async SYNOPSIS
        int silc_net_create_connection_async(const char *local_ip, int port,
                                             const char *host);
DESCRIPTION
        Creates a connection (TCP/IP) to a remote host. Returns the connection
        socket or -1 on error. This creates non-blocking socket hence the
        connection returns directly. To get the result of the connect() one
        must select() the socket and read the result after it's ready. If the
        `local_ip' is not NULL then this will bind the `local_ip' address to
        a port before creating the connection.  If it is NULL then this will
        directly create the connection.
>> SilcNetAPI >> silc_net_create_server >> silc_net_close_server >> silc_net_create_connection >> silc_net_create_connection_async >> silc_net_close_connection >> silc_net_accept_connection >> silc_net_set_socket_nonblock >> silc_net_set_socket_opt >> silc_net_get_socket_opt >> silc_net_is_ip4 >> silc_net_is_ip6 >> silc_net_is_ip >> silc_net_addr2bin >> SilcNetResolveCallback >> silc_net_gethostbyname >> silc_net_gethostbyname_async >> silc_net_gethostbyaddr >> silc_net_gethostbyaddr_async >> silc_net_check_host_by_sock >> silc_net_check_local_by_sock >> silc_net_get_remote_port >> silc_net_get_local_port >> silc_net_localhost >> silc_net_localip >> silc_net_win32_init >> silc_net_win32_uninit