home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / programm / 5838 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  2.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!usc!nic.csu.net!opus!vpopesc
  2. Newsgroups: comp.unix.programmer
  3. Subject: Re: Info Needed on programming w/sockets
  4. Message-ID: <1993Jan5.232123.3691@nic.csu.net>
  5. From: vpopesc@opus.uucp (Valentin Popescu)
  6. Date: 5 Jan 93 23:21:22 PST
  7. References: <78825@hydra.gatech.EDU> <1992Dec27.183251.2471@Princeton.EDU>
  8. Organization: California State University, Lost Angels
  9. Nntp-Posting-Host: opus.calstatela.edu
  10. Lines: 31
  11.  
  12. In article <1992Dec27.183251.2471@Princeton.EDU> subbarao@fc.hp.com writes:
  13. >In article <78825@hydra.gatech.EDU> gt5870c@prism.gatech.EDU (Noah White) writes:
  14. >>
  15. >>    I am starting a program which will use sockets. I have never used them
  16. >>before but have read and understood the man pages for socket, bind, 
  17. >>listen etc. However I would like some more indepth information and 
  18. >>perhaps programming examples for sockets (Internet domain, SOCK_STREM
  19. >>style). Could anyone point me in the right direction? Thanks!
  20. >
  21. >The best thing to do here is NOT read the manual pages. That is, don't read
  22. >them until you have learned about them. An excellent book to learn about
  23. >sockets and the like is UNIX Network programming by W. Richard Stevens. He
  24. >also has another book out called Advanced Programming in the UNIX
  25. >Environment. Other good books include the section on socket implementation
  26. >in the demon book, as well as Comer's Internetworking with TCP/IP (Volume 3
  27. >has extensive coverage of sockets).
  28.  
  29. You will sooner or later have to get into those man pages and even
  30. those header files to figure out what's going on. :) I learned how to
  31. do sockets from a file on the network:
  32.  
  33. "BSD Sockets: a quick and dirty primer" by Jim Frost.
  34.  
  35. I found it under the name of "socket-primer.tar.Z".. I don't know
  36. exactly where it can be found, but I may still have a copy myself
  37. (nroff or tex).
  38. -- 
  39.   veritas..    |         ...vincit    
  40. ____________  -+-__      ____________          Valentin Popescu
  41. \_____     /   |/_ \     \     _____/   Internet: vpopesc@calstatela.edu
  42.  \_____    \_____/  \____/     ____/    Bitnet:   vpopesc@csla.BITNET
  43.