Does anyone know of any TCP socket proxy examples written in Delphi? I am creating a small broker application that needs to listen on socket connections on a given TCP port, read the XML data packet sent over the connection, serve the request through TCP to a server selected from the pool of available server servers, and deliver the resulting response back to the original TCP compound.
I am very familiar with programming at the TCP and socket level, but would prefer to find sample code as a starting point. If there is something available, it will save a lot of time and effort, since I do not need to reinvent the wheel. I remember that I saw a small TCP proxy written in Delphi back in 2003/2004, but it seems to have lost the link to the link.
source
share