Re: How to check if the other application exists using UDP sockets
madhav_a_kelkar_at_hotmail.com
Date: 05/26/05
- Next message: Tom Anderson: "Re: Suggestions for custom application-layer protocol?"
- Previous message: Stu: "Re: scanf()"
- In reply to: Pascal Bourguignon: "Re: How to check if the other application exists using UDP sockets"
- Next in thread: Loic Domaigne: "Re: How to check if the other application exists using UDP sockets"
- Reply: Loic Domaigne: "Re: How to check if the other application exists using UDP sockets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 May 2005 06:57:03 -0700
Pascal Bourguignon wrote:
> madhav_a_kelkar@hotmail.com writes:
> > I am using UDP sockets to send messages to a process. If
> > suppose the process which is supposed to recieve the UDP packets has
> > died. Then is there any way to know that the process has died when
> > sending packets to that process using sendto()?
> >
> > The reson for this question is since the socket is
> > connectionless, the SIGPIPE is not generated even if the other process
> > has died. and sendto() does not give any error even if the other end
> > has died. Is there any work around for this? Thanks in advance for the
> > answer.
>
> On linux:
>
> netstat -unpl
>
> (best results under root).
>
> --
> __Pascal Bourguignon__ http://www.informatimago.com/
> I need a new toy.
> Tail of black dog keeps good time.
> Pounce! Good dog! Good dog!
Thanks for your reply. But I needed a way to verify it through program,
not from the command line.
- Next message: Tom Anderson: "Re: Suggestions for custom application-layer protocol?"
- Previous message: Stu: "Re: scanf()"
- In reply to: Pascal Bourguignon: "Re: How to check if the other application exists using UDP sockets"
- Next in thread: Loic Domaigne: "Re: How to check if the other application exists using UDP sockets"
- Reply: Loic Domaigne: "Re: How to check if the other application exists using UDP sockets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|