I've got a C program that opens a TCP/IP socket and makes a client
connection. What I'd like to do is to 'tie' the socket to this
program's standard I/O, so that anything that is fed into this program's
stdin, is immediately sent to the socket, and anything that appears on
the socket, is immediately sent out this program's stdout. (The end
effect being a sort of pathologically simple version of what telnet,
(or inetd or ucspi-tcp) does.)
Take a look at netcat, from /usr/ports/net/netcat.
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"