Newsgroups: comp.unix.sysv386 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!boulder!news From: jennings@cs.Colorado.EDU (Jeff Jennings) Subject: ESIX sockets Message-ID: <1991Mar28.042703.27887@colorado.edu> Originator: jennings@anchor.colorado.edu Sender: news@colorado.edu (The Daily Planet) Nntp-Posting-Host: anchor.colorado.edu Organization: University of Colorado, Boulder, Department of Computer Science Date: Thu, 28 Mar 1991 04:27:03 GMT Has anyone been able to get any sockets programs working with ESIX sockets? I have typed in the code from "UNIX Network Programming", with the client/server inet examples. This core dumps in listen(). I bought the Networking and Streams Programmers guide from ESIX, they list some different parameters for the socket calls, in particular the bind(), listen(), and accept() calls. No examples are given. The changed parameters are of type **struct t_call, which is something from the TLI stuff. Appears that ESIX built sockets on top of TLI. So I allocated these struct t_call's and passed them to bind and accept, but I don't know which if any fields need to filled in in the struct. Currently I get an error about "Routine would place interface in incorrect state", or something like that, in accept(). So anyway, does anyone have any example code that works? - jeff -- -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ Jeff Jennings University of Colorado, Boulder jennings@boulder.colorado.edu