© Copyright 1997-2004,OpenSS7 Corporation, All Rights Reserved. Last modified:
#include <stdio.h> #include <errno.h> #include <error.h> #include <sys/socket.h> int main () { int fd; if ((fd = socket(AF_INET, SOCK_STREAM, 3)) < 0) { perror("test"); } return (0); }