Marco van de Voort wrote:

SocketError should be a threadvar, I think

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

1.0.x had no threadsupport
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

I use socketerror on unix still. Altho luckily I don't use threads anymore.

The unix "fp" naming convention is a bit sad.

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

Reply via email to