this is a p2p chat application that uses winsock,
this is a good example of how client server aplications work.
every line of code is explained to give you the best explination of how it works.
Side Effects
this will aleart your firewall, if you are using windows xp firewall it will block it without warning, to test it conect to your self open the server and click connect, then on the client, connect to i.p "127.0.0.1"
enjoy