Writing an multi-threaded server/client for windows and linux using TTcpServer and TTcpClient
Posted on 2003-10-27
Okay, this is my dilemma. I have a working client/server currently using the components TServerSocket / TClientSocket in a multithreaded server/client environment.
I just cant figure out how the TTcpServer and TTcpClient works.
The TTcpServer need to be multithreaded and I would very much like if someone could give me a working basic example.
Preferrably the code should not use any visual TTcpServer/TTcpClient componets.
If you can help me understand how the component works and give me a nice example, then perhaps you'll get some more points.
Thanks in advance!