> > > 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


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to