⟩ How to create null file?
- cat /dev/null > filename1
- cat /dev/null > filename1
How do I properly close a socket?
What is the difference between close() and shutdown()?
Explain the TIME_WAIT state.
How can I put a timeout on connect()?
Why does the sockets buffer fill up sooner than expected?
How often should I re-transmit un-acknowleged messages?
How can I be sure that a UDP message is received?
of the socket? Does doing a connect() call affect the receive behaviour?
When should I use UDP instead of TCP?
How can I read only one character at a time?