Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!samsung!rex!rouge!gator.cacs.usl.edu From: pcb@gator.cacs.usl.edu (Peter C. Bahrs) Newsgroups: comp.unix.questions Subject: Socket stuff Message-ID: <4119@rouge.usl.edu> Date: 19 Feb 90 19:15:33 GMT Sender: anon@rouge.usl.edu Distribution: usa Organization: The Center for Advanced Computer Studies, USL Lines: 21 First, does anyone have a reference to a comprehensive text or TR dealing with sockets (socket, bind, connect, accept, read, ERRORS) besides the two standard UNIX Tutorials on IPC (sorry, I forgot the authors). If not, how about somebody put together a good ipc TR that uses all of the features via source code examples (something that looks more legible than our rwho.c code). Second, I have a question about connect and listen. I tell listen (..5). If the queue is 5 and a request comes in exactly what is 'disgarded'? Does this also imply that a client should 'loop' on a connect if ETIMEOUT is returned and the client must get through? /*----------- Thanks in advance... --------------------------------------+ | Peter C. Bahrs | | The USL-NASA Project | | Center For Advanced Computer Studies INET pcb@gator.cacs.sl.edu | | University of Southwestern Louisiana ...!uunet!dalsqnt!gator!pcb | | Lafayette, LA 70504 | +-----------------------------------------------------------------------*/