[fpc-pascal] WSAGetLastError returns 0 when it shouldn't but I cannot see why

Luca Olivetti luca at ventoso.org
Wed Feb 27 21:52:18 CET 2008


En/na Marco van de Voort ha escrit:
>> Hello, before reporting a bug, I'm asking for support here since I'm not 
>> sure I doing something wrong (and if so what am I doing wrong).
> 
> I can't test easily atm, but trying killing off socketerror and the older
> calls without fp.  Try also to move the "write (thread created)" after the
> sleep.

Your remarks are about the working example (project3). The non working 
one already uses the fp calls, but it still uses SocketError (what 
should be its replacement? anyway I saw that it just wraps WSAGetLastError).

Bye
-- 
Luca




More information about the fpc-pascal mailing list