Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!wuarchive!rex!rouge!pc!rrhres01 From: rrhres01@pc.usl.edu (Godeaux Darell) Newsgroups: comp.unix.sysv386 Subject: ESIX : Socket Trouble (ICMP) Message-ID: <17217@rouge.usl.edu> Date: 24 Oct 90 05:40:18 GMT Sender: anon@rouge.usl.edu Distribution: usa Organization: Univ. of Southwestern La., Lafayette Lines: 31 Originator: rrhres01@pc.usl.edu Has anyone tried to create a socket (SOCK_RAW) for ICMPs in ESIX ??? I tried the following program: % cat socket.c #include #include #include #include int s; main() { s = socket(AF_INET, SOCK_RAW, 0); if (s<0) { perror("socket"); exit(0); } } % cc socket.c -o socket -lbsd -lnet -lnsl_s % socket socket: Error 0 I can create a SOCK_STREAM and SOCK_DGRAM, but SOCK_RAW gives the results above. How compatible is ESIX 5.3.2.D with BSD sockets? I am also trying to port the CMU SNMP code to ESIX without any success. (It compiles, but hangs up on the 'select' function when executed.) Does anyone have any experience using sockets? Any comments would be appreciated. Darell J. Godeaux University of Southwestern Louisiana rrhres01@pc.usl.edu