From: Earnie B. <ear...@ya...> - 2002-04-17 13:38:39
|
If you take a look at the header file winsock2.h you could figure out that 10093 is WSANOTINITIALIZED. The documentation says: WSANOTINITIALIZED: A successful WSAStartup must occur before using this (gethostbyname) function. Earnie. "M. Tavasti" wrote: > > Earnie Boyd <ear...@ya...> writes: > > > If no error occurs, gethostbyname returns a pointer to the hostent > > structure. Otherwise, it returns a NULL pointer and a specific error > > number can be retrieved by calling WSAGetLastError. > > With that I get value 10093 (decimal), and winsock_strerror returns > 'Socket error, no description available. (0x0000276D)' > > Is the winsock_strerror even correct function to get meaning of error? > > -- > M. Tavasti / tav...@ik... / +358-40-5078254 > Poista sähköpostiosoitteesta molemmat x-kirjaimet > Remove x-letters from my e-mail address > > _______________________________________________ > MinGW-users mailing list > Min...@li... > > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |