| [ Team LiB ] |
|
Networking Extensions for TclThis chapter describes the basic programming techniques for sockets. Socket programing in Tcl is pretty easy, and a variety of extensions have been created to handle common protocols. This section reviews some of the packages that are available, and then the rest of the chapter describes how to program sockets yourself. ScottyThe Scotty Tcl extension provides access to other network protocols like UDP, DNS, and RPC. It also supports the SNMP network management protocol and the MIB database associated with SNMP. Scotty is a great extension package that is widely used for network management applications. It is a C-level extension, so you have to compile it yourself or find a binary distribution. Its home page is: Standard Tcl LibraryThe Standard Tcl Library (tcllib) has several packages that support widely used TCP-based protocols. These are all pure-Tcl implementations. There are packages for:
HTTPThe Tcl distribution includes an HTTP client, which is described on page 251. You don't need to add tcllib to get this. In addition, there is a nice web server built in Tcl, which is the topic of Chapter 18. |
| [ Team LiB ] |
|