Monday, March 17, 2014

How to Correct Socket Error 10049


1. Open your 'bind function' and make sure that your code is in proper form, as shown in the following example:int bind(__in SOCKET s,__in const structsockaddr *name,__in int namelen);
2. Open your 'connect function' and make sure that your code is in proper form. See below:int connect(__in SOCKET s,__in const structsockaddr *name,__in int namelen);
3. Open your 'sendto function' and make sure your code is in proper form. See below:int sendto(__in SOCKET s,__in const char *buf,__in int len, __inint flags,__in conststruct sockaddr *to,__in int tolen);

No comments:

Post a Comment