P_net_enable_broadcast 3porty 2011-04-14 libporty manual

NAME

P_net_enable_broadcast, P_net_set_nonblocking

SYNPOSIS

#include <libporty/net/network.h>

int P_net_enable_broadcast (P_net_socket sock );

Link with -lporty_net

DESCRIPTION

Enable sending and receiving broadcast messages on a socket (typically on UDP).

RETURN VALUE

Returns 0 on success.

P_net_enable_broadcast 3porty 2011-04-14 libporty manual