af 766 src/simh/sim_sock.c static SOCKET sim_create_sock (int af, int opt_flags) af 771 src/simh/sim_sock.c newsock = socket (af, ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? SOCK_DGRAM : SOCK_STREAM), 0);/* create socket */