The Linux Programming Interface
Sockets: Advanced Topics 1277 and destination IP address and port number, and a range of other criteria. Full details are provid ...
1278 Chapter 61 These three segments are the SYN, SYN/ACK, and ACK segments exchanged for the three-way handshake (see Figure 61 ...
Sockets: Advanced Topics 1279 The optname argument identifies the option whose value we wish to set or retrieve. The optval argu ...
1280 Chapter 61 In both of these scenarios, the outstanding TCP endpoint is unable to accept new connections. Nevertheless, in b ...
Sockets: Advanced Topics 1281 Listing 61-4: Setting the SO_REUSEADDR socket option int sockfd, optval; sockfd = socket(AF_INET, ...
1282 Chapter 61 61.12 TCP Versus UDP Given that TCP provides reliable delivery of data, while UDP does not, an obvious question ...
Sockets: Advanced Topics 1283 advanced features such as flow control and congestion control are also required, then it is probab ...
1284 Chapter 61 61.13.2 The sendmsg() and recvmsg() System Calls The sendmsg() and recvmsg() system calls are the most general p ...
Sockets: Advanced Topics 1285 (where the credentials structure contains somewhat more information than on Linux), but is availab ...
1286 Chapter 61 SCTP is described in [Stewart & Xie, 2001], [Stevens et al., 2004], and in RFCs 4960, 3257, and 3286. SCTP i ...
Sockets: Advanced Topics 1287 The getsockopt() and setsockopt() system calls retrieve and modify options affecting the operation ...
1288 Chapter 61 61-6. Section 61.13.1 noted that an alternative to out-of-band data would be to create two socket connections be ...
TERMINALS Historically, users accessed a UNIX system using a terminal connected via a serial line (an RS-232 connection). Termin ...
1290 Chapter 62 how to perform various screen-control operations for a wide variety of terminal types, and the curses library ([ ...
Terminals 1291 is enabled, then the terminal driver automatically appends a copy of any input character to the end of the output ...
1292 Chapter 62 The fd argument is a file descriptor that refers to a terminal. (If fd doesn’t refer to a terminal, these functi ...
Terminals 1293 When changing terminal attributes with tcsetattr(), the optional_actions argument determines when the change take ...
1294 Chapter 62 62.3 The stty Command The stty command is the command-line analog of the tcgetattr() and tcsetattr() functions, ...
Terminals 1295 If we employ the final option, and the character in question is one interpreted spe- cially by the shell or the t ...
1296 Chapter 62 62.4 Terminal Special Characters Table 62-1 lists the special characters recognized by the Linux terminal driver ...
«
62
63
64
65
66
67
68
69
70
71
»
Free download pdf