Dokumentation zu: disconnect(M)

HR Image


SYNOPSIS
        void disconnect(object ob, string remaining)

DESCRIPTION
        Handle the loss of the IP connection for the (formerly)
        interactive object <ob>. The connection can be lost because the
        the underlying transport connection was lost ('netdead'), or
        because of a call to exec() or remove_interactive().

        <remaining> is a string holding the remaining unread input data from
        the connection, if any. This data is unprocessed just as it was
        received.

        The connection will be unbound upon return from this call, so
        for the time of this call, interactive(ob) will still
        return TRUE even if the actual network connection has already
        been lost.

        This method is not called if the object has been destructed
        already.

HISTORY
        LDMud 3.3.713 added the second argument for the remaining input data.

SEE ALSO
        connect(M), remove_player(M), remove_interactive(E), exec(E),
        interactive(E)


Start » Magierhandbuch » Docu » Master » Disconnect Letzte Generierung: 25.04.2021, 01:58
Email an: mud@wl.mud.de
Valid HTML 4.01!