internal ZmqSocket(ZmqSocketFactory factory, NetMQSocket socket) { if (socket == null) { throw new ArgumentNullException(nameof(socket)); } _factory = factory; Socket = socket; Socket.SendReady += SendReady; Socket.ReceiveReady += ReceiveReady; _factory.AddSocket(socket); }
internal ZmqSubSocket(ZmqSocketFactory factory, NetMQSocket socket) : base(factory, socket) { }