Protocols/MSNP/Commands/VER: Difference between revisions

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

Revision as of 00:23, 29 May 2020

VER

Send this command to inform the server which protocol versions the client supports. The server will then respond with a list of the protocols it supports, out of the ones the client supplied. If the server supports none of the given protocols the server will respond with a protocol of 0, and will then disconnect.

Sent to server

Description

VER trid protocol1 protocol2 protocolN ...

Parameters

  • trid: Transaction ID
  • protocol1, protocol2, protocolN ... : Protocols supported by your client (case sensitive) in descending order of preference (so MSNP13 goes before MSNP12).

Returns from server

Description

VER trid protocol1 protocol2 protocolN ...

Parameters

  • trid: Transaction ID
  • protocol1, protocol2, protocolN ... : Protocols supported by the server

Examples

>>> VER 0 MSNP8 CVR0
<<< VER 0 MSNP8 CVR0
>>> VER 0 MSNP8 MYPROTOCOL CVR0
<<< VER 0 CVR0 MSNP8
>>> VER 0 MYPROTOCOL
<<< VER 0 0
--- Server closes connection
>>> VER MSNP8 CVR0
--- Server closes connection (no trid)