Un-Answered Questions { Unix Socket Programming }

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

405


Why does the sockets buffer fill up sooner than expected?

422


What is the difference between SO_REUSEADDR and SO_REUSEPORT?

683


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

475


How do I convert a string into an internet address?

332





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?

409


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

452


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

403


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

590


Why do I get EPROTO from read()?

389





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

640


How do I use TCP_NODELAY?

416


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

866


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

600


How can I write a multi-homed server?

650