manpagez: man pages & more
info gawk
Home | html | info | man

gawk: Special Network

 
 5.8.2 Special Files for Network Communications
 ----------------------------------------------
 
 'gawk' programs can open a two-way TCP/IP connection, acting as either a
 client or a server.  This is done using a special file name of the form:
 
      /NET-TYPE/PROTOCOL/LOCAL-PORT/REMOTE-HOST/REMOTE-PORT
 
    The NET-TYPE is one of 'inet', 'inet4', or 'inet6'.  The PROTOCOL is
 one of 'tcp' or 'udp', and the other fields represent the other
 essential pieces of information for making a networking connection.
 These file names are used with the '|&' operator for communicating with
 a coprocess (⇒Two-way I/O).  This is an advanced feature,
 mentioned here only for completeness.  Full discussion is delayed until
 ⇒TCP/IP Networking.
 
© manpagez.com 2000-2018
Individual documents may contain additional copyright information.