UNIX Network Programming Volume 1, Third Edition [Electronic resources] : The Sockets Networking API

Addison Wesley

نسخه متنی -صفحه : 450/ 322
نمايش فراداده

Exercises

24.1

Is there a difference between the single function call

send(fd, "ab", 2, MSG_OOB);

and the two function calls

send(fd, "a", 1, MSG_OOB);
send(fd, "b", 1, MSG_OOB);
24.2

Redo Figure 24.6 to use poll instead of select.