select() usage examples (Page 1) / UNIX Socket FAQ / UNIX Socket FAQ
/* Params: fd - (int) socket file descriptor buffer - (char*) buffer to hold data len - (int) maximum number of bytes to recv() flags - (int) flags (as the fourth param to recv() ) to - (int) timeout in milliseconds Results: int - The same ......