Socket stuff

Peter C. Bahrs pcb at gator.cacs.usl.edu
Tue Feb 20 06:15:33 AEST 1990


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 at gator.cacs.sl.edu     |
| University of Southwestern Louisiana   ...!uunet!dalsqnt!gator!pcb     |
| Lafayette, LA 70504                                                    |
+-----------------------------------------------------------------------*/



More information about the Comp.unix.questions mailing list