zeromq / netmq

A 100% native C# implementation of ZeroMQ for .NET
Other
2.95k stars 744 forks source link

Identity Value #974

Closed AbderrahmaneAhmam closed 3 years ago

AbderrahmaneAhmam commented 3 years ago

Hello NetMQ Am trying to detect the new connections of RouterSocket and I need to get Identity value of client (DealerSocket) when NetMQMonitor event "Accepted" fired I get two parameters

private static void Monitor_Accepted(object sender, NetMQMonitorSocketEventArgs e)
{
      Console.WriteLine("Connected!");
}

there is any way to get identity value from these two parameters or another method please, thanks for this great package (I already know about (NetMQMessage.Pop() but this when message Receive I need it when the client connected)