> > tmpdbg:= synsock.Bind(FSocket, Sin);
> > SockCheck(tmpdbg);
> > writeln('DEBUG 1: ', tmpdbg);
> > writeln('DEBUG 2: ', FLastError);
>
> Still the same..
>
> DEBUG 1: -1
> DEBUG 2: 0
Try to call WSAGetLastError after Bind and before SockCheck. Whar you
got by WSAGetLastError? (if right value, then error is inside
SockCheck... if not, error is inside windows...)
--
Lukas Gebauer.
E-mail: [EMAIL PROTECTED]
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public