Advertisement

asynchronous socket?

Started by September 28, 2002 09:59 AM
1 comment, last by Tran Minh Quang 22 years, 4 months ago
I am trying to write a program about asynchronous socket. And this problem arise: I can not send data to server nor receive data from server. Can you tell me which place in program in client program should a put: send() or recv() function?. In my program i put send() int Main loop and recv() in FD_READ when i send data to server program it says: recv() failed! Help please!
Hi

Check out the Articles & Resources section here on gamedev,
the Multiplayer and networking section has some good articles on Winsock (and asynchronus sockets).

/ Freeman
Advertisement
What error did recv() return?

Kuphryn

This topic is closed to new replies.

Advertisement