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