3 % (c) The GRASP/AQUA Project, Glasgow University, 1995
5 \subsection[createSocket.lc]{Create a socket file descriptor}
10 #define NON_POSIX_SOURCE
12 #include "ghcSockets.h"
15 createSocket(I_ family, I_ type, I_ protocol)
19 if ((fd = socket((int)family, (int)type, (int)protocol)) < 0) {