Difference between revisions of "Protocols/MSNP/Commands/OUT"

From NINA Wiki
Jump to navigation Jump to search
 
m (1 revision imported)
(No difference)

Revision as of 00:23, 29 May 2020

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