| [ Team LiB ] |
|
Network SocketsThe socket command provides access to TCP/IP sockets. There are C APIs to define new channels, and there are extensions that provide UDP and other protocols. Chapter 17 describes sockets starting on page 239. Example 43-4 on page 653 uses sockets as a replacement for the Tk send command. info hostnameThe info hostname command was added to find out your host identifier. The fconfigure CommandThe best way to use sockets is with event-driven I/O. The fileevent command provides part of the solution. You also need to be able to control the blocking behavior and buffering modes of sockets. The fconfigure command lets you do this and more. You can also control the newline translation modes and query socket-specific settings. The fconfigure command is described on page 231. |
| [ Team LiB ] |
|