Un-Answered Questions { Unix Socket Programming }

How can I tell when a socket is closed on the other end?

443


Why does the sockets buffer fill up sooner than expected?

462


What is the difference between SO_REUSEADDR and SO_REUSEPORT?

731


How can I set the timeout for the connect() system call?

535


How do I convert a string into an internet address?

370





Is there any advantage to handling the signal, rather than just ignoring it and checking for the EPIPE error? Are there any useful parameters passed to the signal catching function?

450


How can I force a socket to send the data in its buffer?

506


What are the pros/cons of select(), non-blocking I/O and SIGIO?

447


Why does it take so long to detect that the peer died?

636


Why do I get EPROTO from read()?

432





Whats the difference between select() and poll()?

685


How do I use TCP_NODELAY?

471


What is the difference between read() and recv()?

927


system choose one for me on the connect() call? Should I bind() a port number in my client program, or let the?

644


How can I write a multi-homed server?

689