Command:VER
From MSNPiki
Contents |
[edit]
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.
[edit]
Sent to server
[edit]
Description
VER trid protocol1 protocol2 protocolN ...
[edit]
Parameters
- trid: Transaction ID
- protocol1, protocol2, protocolN ... : Protocols supported by your client (case sensitive)
[edit]
Returns from server
[edit]
Description
VER trid protocol1 protocol2 protocolN ...
[edit]
Parameters
- trid: Transaction ID
- protocol1, protocol2, protocolN ... : Protocols supported by the server
[edit]
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)

