der Mouse (firstname.lastname@example.org)
17 Mar 88 05:52:55 GMT
In article <8802181625.AA27348@cod.nosc.mil>, neerma@COD.NOSC.MIL (Merle A. Neer) writes:
> The problem simply stated is this: the user process cannot get the
> status of its tcp connections from UNIX.
> Have any UNIX guru-types ever considered offering a
> 'status(myconnect)' call? We'll gladly pay for one.
If you're running 4.3, I can give you a socket ioctl to return the
status of the connection (as in one of the values in
../netinet/tcp_fsm.h, like TCPS_LISTEN, TCPS_ESTABLISHED, TCPS_CLOSING,
etc). It's not really hard; it'd take all of an afternoon. Just drop
another ioctl into ../h/ioctl.h and into ../netinet/tcp_usrreq.c (in
the if req == PRU_CONTROL statement).
uucp: uucp: email@example.com
This archive was generated by hypermail 2.0b3 on Thu Mar 09 2000 - 14:41:31 GMT