On 16 jan 2006, at 15:49, Marco van de Voort wrote:

SocketError should be a threadvar, I think

Socketerror is legacy. Use fpgeterrno (or errno) to get the error.

It should either be removed or fixed. Currently it's e.g. nowhere set anymore for *nix, yet still used in rtl/inc/sockovl.inc. Also, sockets is a platform-independent unit afaik while fpgeterrno is fairly *nix-specific (in our rtl anyway).


Jonas

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to