I have the memory that when we want to use select() over a socket descriptor, this socket should be set NONBLOCKING in advance.

but today, I read a source file where there seems no lines which set socket to NON-BLOCKING
Is my memory correct or not?

thanks!