state of a socket
Tod Stevens
tstevens at lennon.austek.oz
Tue Mar 13 15:13:16 AEST 1990
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 at austek.oz X25: psi%0505282620000::tstevens
ARPA: tstevens at austek.oz.au CSNET: tstevens at austek.oz.au
EAN: tstevens at austek.oz.au JUNET: tstevens at austek.oz.au
UUCP: uunet.uu.net!munnari!austek.oz.au!tstevens
_--_|\
/ \
\_.--._/
v
More information about the Comp.unix.questions
mailing list