P_net_set_blocking 3porty 2011-04-14 libporty manual

NAME

P_net_set_blocking, P_net_set_nonblocking

SYNPOSIS

#include <libporty/net/network.h>

int P_net_set_blocking (P_net_socket sock );
int P_net_set_nonblocking (P_net_socket sock );

Link with -lporty_net

DESCRIPTION

These calls change an existing socket to blocking or to non-blocking.

RETURN VALUE

Returns 0 on success.

P_net_set_blocking 3porty 2011-04-14 libporty manual