Coyo Stormcaller wrote:
Despite documentation and manuals, I have not figured out how to use TCP
sockets in Object Pascal, since there doesn't seem to be a primitive for
it, or any easy way to instantiate sockets and manipulate incoming
connections.
So my approach to sockets is to do it externally. A Bash shell script
invokes another script, such as Ruby for binding the socket. Upon
recieving a socket connection, it invokes an Object Pascal command line
program, passing it socket traffic as standard input.
If you have to do it that way then I strongly suggest using the existing
netpipes (hose and faucet) utilities.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal