[AGENT++] Does agent++ support such calls from different threads?

Jochen Katz katz at agentpp.com
Tue May 25 22:11:21 CEST 2010


Hi,

> I have called  Snmpx object creation and Snmp::socket_startup in different
> thread from snmp message processing thread. Is it acceptable for agent++
> because some api doesn't support such calls from different threads (for
> example QtSQL). Please clarify that topic..

for agent++, it is not a problem, as socket_startup just calls
WSAStartup on win32 platform. The documentation of the WSAStartup
function does not mention threads, so your usage should be ok.

Regards,
  Jochen



More information about the AGENTPP mailing list