Hi code_glitch,

I can't offer any advice about using the sockets library as the only server I've ever written was produced using Kylix 3 and Indy 9. Indy 10 does I believe support Freepascal without lots of baggage. The server I produced ended up being a Linux deamon, could handle 800 requests/second and never died when the client disconnected.

I guess what I'm trying to say is that if you can use a slightly higher level library like Indy, alot of this excess baggage would be taken care of for you.