gawk
This file documents the networking features in GNU Awk (gawk
)
version 4.0 and later.
This is Edition 1.3 of TCP/IP Internetworking with gawk
,
for the 4.0.0 (or later) version of the GNU
implementation of AWK.
Copyright (C) 2000, 2001, 2002, 2004, 2009, 2010 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with the Invariant Sections being “GNU General Public License”, the Front-Cover texts being (a) (see below), and with the Back-Cover Texts being (b) (see below). A copy of the license is included in the section entitled “GNU Free Documentation License”.
• 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 document. | |
• GNU Free Documentation License: | The license for this document. | |
• Index: | The index. | |
• 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. |
gawk
gawk
’s Networking Mechanisms