Protocols/MSNP/Commands/VER

From NINA Wiki
Revision as of 18:45, 11 May 2022 by Animadoria (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
MSNP Protocol
Introduction • Terms • Clients
Reference
Error List • Commands • Relying Party Suite • Spotlife
Services
XMPP • HTTP Gateway • Tabs • Activities
Documentation
Development Tools • MSNP Grid
Polygamy • URLs used by MSN
Documents
Protocol Versions
Version 21
Version 18
Version 16
Version 15
Version 14
Version 13
Version 12
Version 11
Version 9
Version 8
Version 2
MSNC
Introduction • P2P • Object Descriptor • Display Pictures • File Transfer
Scenarios
Microsoft Messenger for Mac
MSNP on WebTV (MSNTV)

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)