zeromq - How to fetch 0mq socket structure from fd? -


we have application in listening on socket. when clients connect, need know per client “fd” , peer address. info can fetched using socket monitors. subsequently, need send data separately each client. (not send same data clients). there standard api socket structure “fd” can use in send api?

my understanding fd used field of zmq_pollitem_t struct used in zmq_poll or other pollers. there used when want interface zmq sockets other non-zmq pollers (so if you're using zmq_poll shouldn't set other 0). so, in case using non-zmq poller, you're setting fd value, not getting it.

is use of fd you're referring to? if not, update question more specific?


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -