zeromq / netmq

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

Is there any analog of socket's listener or thing that seems like that? #800

Closed ghost closed 5 years ago

ghost commented 5 years ago

Point

When I was doing my multi-clients server I've got a problem with getting clients. When a client just connected I want server to add client to my List with it's IP. Does anybody know how I can do this? Is there something that I can use like listener? Thanks in advance

somdoron commented 5 years ago

Not really. You can design your own protocol on top of NetMQ, where the client sends a login message, and you can then register the client.

ghost commented 5 years ago

Not really. You can design your own protocol on top of NetMQ, where the client sends a login message, and you can then register the client.

I also wanted to ask you if it's allowed to use your library as additional library in my own library?

drewnoakes commented 5 years ago

@Linkovskiy the license is LGPL which allows linking to a compiled NetMQ license from any other project, irrespective of what license your own project users. See the license for additional terms, such as if you make changes to NetMQ.