Re: Multithreading with single api

2007-03-08 Thread David Ulrich
Hi, No I don't try them because I don't need async. I have a thread for each snmp connexion, they can wait the response. Is there real advantage to use async when we have delegates thread to snmp query? David Le 8 mars 07 à 10:50, Thomas Anders a écrit : > David Ulrich wrote: >> I have wr

Re: Multithreading with single api

2007-03-08 Thread Thomas Anders
David Ulrich wrote: > I have written a small code in C to poll switchs in a fiber optic > network. I must get counters values on this switchs for each port. I > have threaded the code in order to be able to poll 200 switchs in > some minutes. Have you tried using an asynchronous application

Multithreading with single api

2007-03-07 Thread David Ulrich
Hi, I have written a small code in C to poll switchs in a fiber optic network. I must get counters values on this switchs for each port. I have threaded the code in order to be able to poll 200 switchs in some minutes. I notice that with more than 4 threads I have a lot of SNMP timeout. I