That one also uses Synapse and even threads. I don't think TS is ready for threads yet

I always work with Synapse and think it's easiest and the SO-topic gave a simple example without threads.
But if somebody can give a working example with fpsock (from FPC fcl-net) that will be fine too.
Keep in mind... if TS already gets lost in the SO-example, I'm not sure if somebody here can give a more simpler answer.