Un-Answered Questions { Unix Socket Programming }

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

387


Why does the sockets buffer fill up sooner than expected?

401


What is the difference between SO_REUSEADDR and SO_REUSEPORT?

651


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

456


How do I convert a string into an internet address?

312





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?

391


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

428


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

386


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

567


Why do I get EPROTO from read()?

368





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

622


How do I use TCP_NODELAY?

394


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

845


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

582


How can I write a multi-homed server?

634