Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!samsung!usc!wuarchive!udel!rochester!kodak!uupsi!sunic!kuling!irf From: irf@kuling.UUCP (Bo Thide') Newsgroups: comp.sys.hp Subject: HP-UX "socketpair" again. Message-ID: <1796@kuling.UUCP> Date: 16 Nov 90 12:00:25 GMT Reply-To: bt@irfu.se (Bo Thide') Organization: Swedish Institute of Space Physics, Uppsala, Sweden Lines: 18 Still trying to get a "socketpair" for HP-UX 7.0 I tried the following: #include #include #include #include main() { int sockets_in[2]; syscall(SYS_socketpair, AF_UNIX, SOCK_STREAM, 0, sockets_in); } However, this dumps core with a "Bad system call" message. What is wrong here? Bo