#include <wsvv.h>
SOCKET PASCAL FAR socket(af, type, protocol)
int af; /* address format specification */
int type; /* type specification for new socket */
int protocol; /* not supported */
Create a socket.
Addendum
For af, the address format specification, AF_VOICEVIEW is available.
Sockets support SOCK_DGRAM, SOCK_STREAM, and SOCK_RAW for type, the type specification.
Use the uuidProtocol field of the sockaddr structure to convey the socket protocol. Set the protocol parameter to 0, or don't specify one. The protocol parameter is ignored.
See Also
accept, bind, connect, getpeername, getsockname, getsockopt, listen, recvfrom, select, send, sendto, setsockopt, sockaddr, WSAAsyncSelect