Protocols/MSNP/Commands/OUT

From NINA Wiki
Revision as of 14:06, 8 January 2010 by AD (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

OUT

Notification Server

From Client

Sent to notification server upon leaving. No transaction ID is sent.

>>> OUT
<<< OUT

The server will reply with an echo before closing the connection. Clients do not need to send the OUT command, but it is recommended. Simply closing the connection will have the same effect.

Asynchronously

The server may send an OUT to clients asynchronously, usually with a parameter

<<< OUT reason

Where reason is OTH if the user has logged on from another location (if the service does not support multiple simultaneous connections) or SSD if the notification server is being taking down for maintenance, in which case the client should reconnect to a dispatch server to get an XFR to another notification server.

Switchboard Server

Sent to switchboard upon leaving.

Sending it isn't necessary, you can just close the connection. The syntax for having the server close the connection (gracefully) is:

OUT\r\n