Probably AssUMed the bind was successful:

if(-1 == bind(i32SocketFD,(struct sockaddr*) &stSockAddr,
sizeof(stSockAddr)))
{
  // impossible, environment is perfect, can't possibly fail here.  ;)
}
if(-1 == listen(i32SocketFD, 10))
{
  // error 100038, don't tell anyone, just die
  exit(-1);
}

Glen Batchelor wrote:
> Winsock 100038 is "Error - that is not a socket". Something, in the
> code, is trying to listen on a non-socket file descriptor. Naughty
> Naughty! 
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to