Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
savkinavmono opened this issue Sep 3, 2024 · 0 comments

Comments

@savkinavmono
Copy link

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant