[zeromq-dev] Socket use from several threads

moteus mimir at newmail.ru
Tue Jul 17 13:27:34 CEST 2012


Hi.

I have some service. 
Service creates new thread for each request and call function from .dll to
proceed this request.
I write only .dll and can not change service.
What best method to use REQ/REP sockets over inproc and tcp.
If I understood correctly i have to create new context (tcp) and socket for each
new thread? Or i can create some pool of sockets and use them at the same time
only from one thread?




More information about the zeromq-dev mailing list