Okay in the past few days i have been trying everything to create an application which has one server socket and one client. i want the server socket to be listening and when i press the btn to send a text from the client to the server and the server socket to display it in a message box form onreceive but it doesn't work nomather what i do.
So i have posted one of my sources bellow.
If you checked the return codes of your calls to CAsyncSock methods, you could easily see that you did not call WSAStartup, thus you are not creating the server socket ;-)
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.