I found the error in the 2nd bind statement, misspelled word to cause another bind of first socket name.
But still wondering what a 0 return from WSAGetlastError() means.
Type: Posts; User: dandysxm
I found the error in the 2nd bind statement, misspelled word to cause another bind of first socket name.
But still wondering what a 0 return from WSAGetlastError() means.
I have the following code:
void CUSimCtrlDlg::initializeSockets()
{
int status = 0;
// Start Winsock Version 1.1 DLL
WSAStartup ( MAKEWORD ( 1,1 ), &wsaData );