How Windows Live Messenger works

Any Post starting with this disclaimer means that this post was not written by me however I liked it and added to my blog. I will also include the link to the original or similar post to provide credit to the original author

Read the entire post here: http://www.milkaddict.com/?p=21

How does Windows Live Messenger works? there are millions of users typing messages everyday but maybe few of them ever asked themselves how the messenger really works! so here I wrote a little post about it. Windows Live Messenger it’s an hybrid Client-Server / Peer-to-Peer application. It basically started as a client-server application. Let’s say that the client A wants to contact the client B. The client A logs in a CS (Connection Server) through a persistent TCP connection (eventually using proxy,gateway..). Behind the CS there are the PS (Presence Server). Each person get always the same particular PS, which is where your personal status message, description of your user photo and similar things are stored.

Msn1

Another element of the architecture is the Address Book. The client A gets directly from the Address Book his list of contacts. Then the client A tells to his CS who his friends are, the CS subscribes to his friend’s PS to get the presence information that are sent up through the client server connection. If the client A change his status to OffLine for example, the change goes up to the CS of A, then to the PS of A, then down to the CS of B through the subscription and then down to the client B.

CHAT

If the client A wants to chat, tells to his CS that wants to contact somebody, and the CS tells A to contact a Mixer, which sends IM traffic to a destination, for example to B (passing through the CS of B). Then A and B and talk back and forth through the Mixer.

Msn2

You can watch also an original video where some of the developers and visionaries behind Windows Live Messenger explain how it works. http://channel9.msdn.com/posts/Charles/Windows-Live-Messenger-What-How-Why/

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 )

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.