ldmud-3.4.1/doc/
ldmud-3.4.1/doc/efun.de/
ldmud-3.4.1/doc/efun/
ldmud-3.4.1/doc/man/
ldmud-3.4.1/doc/other/
ldmud-3.4.1/mud/
ldmud-3.4.1/mud/heaven7/
ldmud-3.4.1/mud/lp-245/
ldmud-3.4.1/mud/lp-245/banish/
ldmud-3.4.1/mud/lp-245/doc/
ldmud-3.4.1/mud/lp-245/doc/examples/
ldmud-3.4.1/mud/lp-245/doc/sefun/
ldmud-3.4.1/mud/lp-245/log/
ldmud-3.4.1/mud/lp-245/obj/Go/
ldmud-3.4.1/mud/lp-245/players/lars/
ldmud-3.4.1/mud/lp-245/room/death/
ldmud-3.4.1/mud/lp-245/room/maze1/
ldmud-3.4.1/mud/lp-245/room/sub/
ldmud-3.4.1/mud/lp-245/secure/
ldmud-3.4.1/mud/morgengrauen/
ldmud-3.4.1/mud/morgengrauen/lib/
ldmud-3.4.1/mud/sticklib/
ldmud-3.4.1/mud/sticklib/src/
ldmud-3.4.1/mudlib/uni-crasher/
ldmud-3.4.1/pkg/
ldmud-3.4.1/pkg/debugger/
ldmud-3.4.1/pkg/diff/
ldmud-3.4.1/pkg/misc/
ldmud-3.4.1/src/autoconf/
ldmud-3.4.1/src/hosts/
ldmud-3.4.1/src/hosts/GnuWin32/
ldmud-3.4.1/src/hosts/amiga/
ldmud-3.4.1/src/hosts/win32/
ldmud-3.4.1/src/ptmalloc/
ldmud-3.4.1/src/util/
ldmud-3.4.1/src/util/erq/
ldmud-3.4.1/src/util/indent/hosts/next/
ldmud-3.4.1/src/util/xerq/
ldmud-3.4.1/src/util/xerq/lpc/
ldmud-3.4.1/src/util/xerq/lpc/www/
ldmud-3.4.1/test/t-030925/
ldmud-3.4.1/test/t-040413/
ldmud-3.4.1/test/t-041124/
SYNOPSIS
        int net_connect(string host, int port)

DESCRIPTION
        Open a non-blocking TCP network connection to <host> and
        <port>.  On success, the connection is bound to the current
        object and the lfun logon() is called in the object.

        Return 0 on success, and a Unix ERRNO on failure.

        If the driver is configured to support IPv6, <host> is first
        interpreted as IPv6 hostname. If that fails, <host> is then
        interpretd as IPv4 hostname.

        If the connection can't be established immediately, the efun
        returns 'success' and the driver will check in the background
        for the progress of the connection. When it is established,
        logon() will be called in the object. If the connection fails,
        logon(-1) will be called in the object.

        The efun raises a privilege violation ("net_connect", host, port).

BUGS
        A non-blocking connect() doesn't imply a non-blocking
        forward name resolution. If you provide a hostname instead
        of an IP address to connect to, the driver will block until
        the name is resolved. This may be an issue, depending on how
        fast your nameserver replies. Non-blocking forward DNS
        resolution can currently only be achieved using ERQ_LOOKUP.

HISTORY
        First version 1992 by Snake and LynX for Nemesis.
        Improved 1993 by Junky.
        Added to LDMud 3.2.10.

SEE ALSO
        logon(A)