[AGENT++] Agent++ Problem and Multithreaded intial loop
Jochen Katz
katz at agentpp.com
Wed Feb 4 20:27:38 CET 2004
Hi,
> Platform is Win32 with Visual C++ 6.0 SP 5 but it should work on Linux
> too. (We have some sort of thread abstraction which works well).
>
> Debugging:
> Snmpx::receive
> iv_snmp_session is 3435973836 and max_fd is then negative (maybe
> conversion to int?)
>
> and nfound = select(max_fd+1, &readfds, 0, 0, tvptr);
> returns -1.
3435973836 is hex 0xcccccccc, which possibly is some sort of
padding/default initial value for VC++. I assume some different compiler
options for some part of your application.
Regards,
Jochen
More information about the AGENTPP
mailing list