My code is as follows:
/* Create the socket */
s = socket(AF_INET,SOCK_STREAM,IPPROTO_TCP);
if(s == INVALID_SOCKET)
FILE *f = fopen("c:\\temp\\lsp.txt","a");
fprintf(f,"socket() error: %d\n",WSAGetLastError());
The error number returned by WSAGetLastError() is 183. I looked in the winsock2.h header file, and I cant find any sort of reference to 183. I'm hoping someone here can help me figure out this error.