|
From: L <L...@z5...> - 2007-11-16 10:15:07
|
> > > It very probably not returing any error by WSAGetLastError, just by
> > > bind return value.
> > >
> > > But MSDN says:
> > > "If no error occurs, bind returns zero. Otherwise, it returns
> > > SOCKET_ERROR, and a specific error code can be retrieved by calling
> > > WSAGetLastError."
> >
> > hmmmm I'm thinking WSAGetLastError is flakey, or WSAGetLastError being reset
> > somehow.
> >
>
> Is it possible maybe:
> GetSinLocal
>
> Is making a winapi call and wsagetlasterror returned to zero..
>
> GetSinLocal is called after ssBind.. in the .Bind function..
GetSinLocal calls GetSockName..
ssGetSockName := GetProcAddress(LibHandle, PChar('getsockname'));
Which is in WinAPI !
Possible it is setting WsaGetLastError to zero??
L505
3:09AM
|