[nanomsg] Re: Need help in identifying the connection lost in NANOMSG

  • From: Ramesh Ramachandran <rameshrg22@xxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Tue, 21 Oct 2014 11:56:12 +0530

Hi Team,

I want to know how to differentiate the connections in nanomsg.
I need to map each connection with some connection ID/String.
Please help me on this.

On Mon, Oct 20, 2014 at 5:14 PM, Ramesh Ramachandran <rameshrg22@xxxxxxxxx>
wrote:

> Hello Team,
>
> Am new to NANOMSG am using
>
> nn_socket(AF_SP, NN_PAIR) sockets.
>
> I want to know how to get the unexpected connection termination event in
> nanomsg sockets.
>
> Like ctrl+c event or kill the client by kill command or crash on client
> side. In this case there is no nn_close(). So how to identify the socket
> has been closed on the other side.
>
>
>
> --
> With regards
> Ramesh.R
>



-- 
With regards
Ramesh.R

Other related posts: