Skip to content

Is there a way to find out the identity of the client at the time of disconnection? #1104

Open
@savkinavmono

Description

Hi. Is there a way to find out the identity of the client at the time of disconnection?

Environment

NetMQ Version:    4.0.1.13

When I use this code, I see various information about the socket, but I do not know how to associate it with the identity of the client in the Router-Dealer model.

monitor.Accepted += (s, a) =>
{
    Console.WriteLine("local accept " + a.Socket.RemoteEndPoint.ToString());                    
};
monitor.Disconnected += (s, a) =>
{
    Console.WriteLine("local disconnected " + a.Socket.RemoteEndPoint.ToString());  
    
};

Thank you in advance.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions