Re: Need help with UNIX tcp


Danny Backx (mcvax!prlb2!kulcs!dannyb@uunet.uu.net)
24 Feb 88 15:51:43 GMT


> sometimes do it on UNIX. 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.
> Or even just a 'signal(YOURCONNECTISBOGUS,letmeknow)'
> would be nice?
[...]
> Merle Neer
> > neerma@nosc

Could you post a more complete list of what you think a user interface to TCP
should include ?

As for your request on 'YOURCONNECTISBOGUS', I think you can arrange something
like that on BSD. (I don't know whether you're talking about BSD or Sys-V).
If you are interested, look in the manual entries for socket(2),
setsocketopt(2) - look for the SO_KEEPALIVE option.
I'm not sure if you can detect dead connections with select(2), or maybe
with SIGIO or SIGURG.

If you find a way, please post it. I'm sure lots of people are interested.

        Danny

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Danny Backx | mail: Katholieke Universiteit Leuven
 Tel: +32 16 200656 x 3537 | Dept. Computer Science
 E-mail: E-mail: dannyb@kulcs.UUCP | Celestijnenlaan 200 A
         ... mcvax!prlb2!kulcs!dannyb | B-3030 Leuven
         dannyb@kulcs.BITNET | Belgium



This archive was generated by hypermail 2.0b3 on Thu Mar 09 2000 - 14:41:30 GMT