1 1 General Introduction 1 ******************** 1 1 This file documents the networking features in GNU Awk ('gawk') version 1 4.0 and later. 1 1 This is Edition 1.4 of 'TCP/IP Internetworking with 'gawk'', for the 1 4.1.4 (or later) version of the GNU implementation of AWK. 1 1 1 Copyright (C) 2000, 2001, 2002, 2004, 2009, 2010, 2016 Free Software 1 Foundation, Inc. 1 1 1 Permission is granted to copy, distribute and/or modify this document 1 under the terms of the GNU Free Documentation License, Version 1.3 or 1 any later version published by the Free Software Foundation; with the 1 Invariant Sections being "GNU General Public License", the Front-Cover 1 texts being (a) (see below), and with the Back-Cover Texts being (b) 1 (see below). A copy of the license is included in the section entitled 1 "GNU Free Documentation License". 1 1 a. "A GNU Manual" 1 1 b. "You have the freedom to copy and modify this GNU manual. Buying 1 copies from the FSF supports it in developing GNU and promoting 1 software freedom." 1
1 · Preface About this document. · Introduction About networking. · Using Networking Some examples. · Some Applications and Techniques More extended examples. · Links Where to find the stuff mentioned in this 1 document. · GNU Free Documentation License The license for this document. · Index The index. 1 · Stream Communications Sending data streams. · Datagram Communications Sending self-contained messages. · The TCP/IP Protocols How these models work in the Internet. · Basic Protocols The basic protocols. · Ports The idea behind ports. · Making Connections Making TCP/IP connections. · Gawk Special Files How to do 'gawk' networking. · Special File Fields The fields in the special file name. · Comparing Protocols Differences between the protocols. · File /inet/tcp The TCP special file. · File /inet/udp The UDP special file. · TCP Connecting Making a TCP connection. · Troubleshooting Troubleshooting TCP/IP connections. · Interacting Interacting with a service. · Setting Up Setting up a service. · Email Reading email. · Web page Reading a Web page. · Primitive Service A primitive Web service. · Interacting Service A Web service with interaction. · CGI Lib A simple CGI library. · Simple Server A simple Web server. · Caveats Network programming caveats. · Challenges Where to go from here. · PANIC An Emergency Web Server. · GETURL Retrieving Web Pages. · REMCONF Remote Configuration Of Embedded Systems. · URLCHK Look For Changed Web Pages. · WEBGRAB Extract Links From A Page. · STATIST Graphing A Statistical Distribution. · MAZE Walking Through A Maze In Virtual Reality. · MOBAGWHO A Simple Mobile Agent. · STOXPRED Stock Market Prediction As A Service. · PROTBASE Searching Through A Protein Database. 1