Advertisement

Winsock Error

Started by January 17, 2001 12:31 AM
2 comments, last by Great Milenko 24 years ago
ummmm ok well heh I''m getting error WSAEISCONN(10056) from sendto and recvfrom. it would be such a problem if I knew what the hell is error is! but the only place I can find it is in winsock2.h... I''ve check my code over and over again and I can''t figure out what the hell is wrong.... btw I''m using udp/ip... if that has anything to do with it....
The Great Milenko"Don't stick a pretzel up your ass, it might get stuck in there.""Computer Programming is findding the right wrench to hammer in the correct screw."
sendto and recvfrom are only used on connectionless sockets. if you''ve connected your sockets, use send and recv.
Advertisement
it is on a connectionless socket =) udp =)
The Great Milenko"Don't stick a pretzel up your ass, it might get stuck in there.""Computer Programming is findding the right wrench to hammer in the correct screw."
UDP sockets can still be connected. If you''ve connect()ed sockets, don''t use recvfrom and sendto. That, and trying to connect an already connect()ed socket are the only ways a WSAEISCONN error can be generated.

This topic is closed to new replies.

Advertisement