Exercises


30.1

In Figure 30.13, why does the parent keep the listening socket open instead of closing it after all the children are created?

30.2

Can you recode the server in Section 30.9 to use a Unix domain datagram socket instead of a Unix domain stream socket? What changes?

30.3

Run the client and as many of the servers as your environment will support and compare your results with those reported in this chapter.




UNIX Network Programming Volume 1, Third Edition
Unix Network Programming, Volume 1: The Sockets Networking API (3rd Edition)
ISBN: 0131411551
EAN: 2147483647
Year: 2003
Pages: 441

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net