Windows Live Messenger Has a New Protocol Underway

July 25, 2007 at 2:56 am 1 comment

I’ve been messsing around with some protocol stuff in Windows Live Messenger (formerly known as MSN). The current version of the protocol is MSNP15. This does not stand for Microsoft Network (MSN) Protocol, but stands for Microsoft Notification Protocol. Sending a VER message to the server checks to see if you have an acceptable version of the protocol to connect with. Versions below seven do not return proper responses (those were never used in public programs), but all other protocols that have been used respond correctly.  MSNP16 resepons correctly, even though the current version is MSNP15!  What I think this means is that the next version of the protocol is underway and there may be some new features in the upcoming Windows Live Messenger release. The Windows Live Messenger team has been hard at work giving us a great product. I love Messenger and I think it provides a very nice work environment. It just looks and runs so much better than AIM (although AIM Pro has some features I really love). One thing I really love about the development cycle is that they get personal with the program’s users. I found this information out thanks to Python and connected to the server with the built-in socket module that provides a “low-level networking interface” (a.k.a. the TCP/IP protocol used to connect Windows Live Messenger). Here’s the code I used to do this:

#Start Code
import socket
HOST = ‘messenger.hotmail.com’ # The remote host
PORT = 1863 # The same port as used by the server
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((HOST, PORT))
s.send(‘VER 0 MSNP16 CVR0\r\n’)
data = s.recv(1024)
s.close()
print ‘Received’, repr(data)
#End Code

I’m going to be working on a little text-based Windows Live Messenger in Python.

Cheers,

Ivan

Edit:

Turns out someone discovered this before me by using netcat.

Advertisements

Entry filed under: Computers, Internet, Scripting, Software.

Back to Work Writing a Virus Scanner (Part 1 of 2)

1 Comment Add your own

  • 1. Virus Removal Help  |  July 30, 2012 at 4:00 am

    I’m gone to convey my little brother, that he should also go to see this website on regular basis to take updated from latest information.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


July 2007
M T W T F S S
« Jun   Aug »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Contact

vainentree@gmail.com

%d bloggers like this: