SocketError should be a threadvar, I think -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: sockets.diff URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20060116/ef8efb7f/attachment.ksh>