Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ames!uhccux!munnari.oz.au!sirius.ucs.adelaide.edu.au!augean!flinders!lennon!tstevens From: tstevens@lennon.austek.oz (Tod Stevens) Newsgroups: comp.unix.questions Subject: state of a socket Keywords: sockets, async io Message-ID: <324@lennon.austek.oz> Date: 13 Mar 90 05:13:16 GMT Organization: Austek Microsystems, Adelaide, S.A. Lines: 27 After setting up a socket for asynchronous transfers, and assigning a io handler to SIGIO, I need the io handler to interpret the socket state to decide whether to read from the socket or whether to notify other routines that the socket is disconnecting, etc. How do I get access to this information? The so_state field, in the struct socket, is what I would like, but how do I get it? Regards, Tod. Tod Stevens Austek Microsystems Pty. Ltd. Technology Park Adelaide, SA 5095 ACSnet: tstevens@austek.oz X25: psi%0505282620000::tstevens ARPA: tstevens@austek.oz.au CSNET: tstevens@austek.oz.au EAN: tstevens@austek.oz.au JUNET: tstevens@austek.oz.au UUCP: uunet.uu.net!munnari!austek.oz.au!tstevens _--_|\ / \ \_.--._/ v