> Or WSAGetLastError not reporting any problem due to OS problem..
> maybe.. hmm.
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."
Ah, I see, you calling Bind call twice in your test code... try next
modification:
tmpdbg:= synsock.Bind(FSocket, Sin);
SockCheck(tmpdbg);
writeln('DEBUG 1: ', tmpdbg);
writeln('DEBUG 2: ', FLastError);
--
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