I had a small doubt about Winsock! I created a small chat program using WinSock. The program works fine when I test it on my local machine but when I try to connect to a remote machine I end up with a run time error 40006.
Why does this happen? Could it be because of a firewall? I so how do i make it ask for the users permission to grant access for the required port? Or is there a better way of doing this