P_socket 3porty 2011-09-10 libporty manual

NAME

P_socket

SYNPOSIS

#include <libporty/net/network.h>

P_net_socket P_socket (int af , int protocol , int type );

DESCRIPTION

This call is a wrapper around socket(2) call. On some systems some more needs to be done to get a really usable socket - for example on windows, a WSA call is used to guarantee the returned socket handle can really be used in any context (even for redirection for processes).

P_socket 3porty 2011-09-10 libporty manual