Site Tools


on_server_lost
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


on_server_lost [2013/01/08 15:22] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +======Synopsis:======
 +[[on]] [<modes>]server_lost [<serial#>] [-|^]<match> { <action> }
 +
 +======Description:======
 +This hook is triggered whenever the client is disconnected from any server
 +for any reason.
 +
 +This hook is thrown when the server is in the CLOSING state, but before it
 +switches to the CLOSED state.  Whether or not the socket to the server is
 +still up, or usable, is undefined behavior.  If you need defined behavior,
 +catch [[on server_status]] for the switch to CLOSING.
 +
 +======Parameters:======
 +|$0 |server refnum|
 +|$1 |server name|
 +|$2- |reason for disconnect. usually the same as your [[QUIT]](1) message|
 +
  
on_server_lost.txt · Last modified: 2013/01/08 15:22 by 127.0.0.1