You just answered your own question.What can be wrong ?
I´m not using WSAStartup...
MSDN:
Without the WSAStartup, there are no sockets.The WSAStartup function initiates use of the Winsock DLL by a process.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 7 of 7
Thread: Invalid socketThreaded View
|
Click Here to Expand Forum to Full Width |