0
| always wait until the operation finishes (block)
|
P_net_nonblock_connect
| do not block during connect, but the socket should become blocking after the connection is established. The caller should poll for writing (P_POLLOUT) for a pending connection.
|
P_net_nonblock_socket
| do not block for reading, but connect during connecting
|
P_net_nonblock_full
| P_net_nonblock_connect | P_net_nonblock_socket (never block)
|
P_net_nonblock_quit_on_error
| Default behaviour is that calls will try to set the non-blocking properties as ordered by the caller, but if setting them fails, the socket stays blocking and the call proceeds. Using this flag will change behaviour in a way that not being able to fullfil the non-blocking requirement is considered a fatal error. In other words, if this flag is set, calls either set up the sockets non-blocking or they return error without setting up anything.
|