blob: 5f54c5f347ca1c2f46931ce455990123a40e83af [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
Zesstra7ea4a032019-11-26 20:11:40 +01002 void disconnect(object ob, string remaining)
MG Mud User88f12472016-06-24 23:31:02 +02003
4DESCRIPTION
Zesstra7ea4a032019-11-26 20:11:40 +01005 Handle the loss of the IP connection for the (formerly)
6 interactive object <ob>. The connection can be lost because the
7 the underlying transport connection was lost ('netdead'), or
8 because of a call to exec() or remove_interactive().
9
10 <remaining> is a string holding the remaining unread input data from
11 the connection, if any. This data is unprocessed just as it was
12 received.
13
14 The connection will be unbound upon return from this call, so
15 for the time of this call, interactive(ob) will still
16 return TRUE even if the actual network connection has already
17 been lost.
18
19 This method is not called if the object has been destructed
20 already.
21
22HISTORY
23 LDMud 3.3.713 added the second argument for the remaining input data.
MG Mud User88f12472016-06-24 23:31:02 +020024
25SEE ALSO
Zesstra7ea4a032019-11-26 20:11:40 +010026 connect(M), remove_player(M), remove_interactive(E), exec(E),
27 interactive(E)