there_s_a_dev_file_for_tcp_connections
This is an old revision of the document!
They're of the form:
/dev/tcp/<hostname>/<portnumber>
To send stdout to a TCP connection:
$ mycomment > /dev/tcp/awesome.com/9999
To get a bidirectional TCP connection in shell script:
echo 3 <> /dev/tcp/awesome.com/9999
there_s_a_dev_file_for_tcp_connections.1277125199.txt.gz · Last modified: 2010/06/21 05:59 by tkbletsc