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 -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -