Re: synchronous versus asynchronous

2006-11-15 Thread Mathew Bielejeski
:11:48 +0100 From: Alef Veld <[EMAIL PROTECTED]> Subject: Re: synchronous versus asynchronous To: Steve Friedl <[EMAIL PROTECTED]> Cc: net-snmp-coders@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Re: synchronous versus asynchronous

2006-11-14 Thread Steve Friedl
On Tue, Nov 14, 2006 at 09:11:48PM +0100, Alef Veld wrote: > So basically if i understand correctly async is using select with > nonblocking sockets and a large set of file descriptors? I assume you > use that since you stated that net-snmp is not thread-safe. And in > addition you just send

Re: synchronous versus asynchronous

2006-11-14 Thread Alef Veld
So basically if i understand correctly async is using select with nonblocking sockets and a large set of file descriptors? I assume you use that since you stated that net-snmp is not thread-safe. And in addition you just send a whole bunch of udp sendto's in a event loop? that's really somet

Re: synchronous versus asynchronous

2006-11-14 Thread G. S. Marzot
Alef Veld wrote: > Hello, > > If i wanted to discover a large amount of hosts, which method would > be better. How does asynchronous work? Does it just send a bunch of > udp packets in a threaded fashion? > > It's just that i find the net-snmp library pretty difficult to > understand, and i

Re: synchronous versus asynchronous

2006-11-14 Thread Steve Friedl
On Tue, Nov 14, 2006 at 07:10:38PM +0100, Alef Veld wrote: > If i wanted to discover a large amount of hosts, which method would > be better. How does asynchronous work? Does it just send a bunch of > udp packets in a threaded fashion? > > Another thing; as i start my foray in this snmp world

Re: synchronous versus asynchronous

2006-11-14 Thread Alef Veld
Hi, thanks for your reply. By: -- btw, you would have to explain what you mean by "bare bones snmp client whose only hook is the systems headers/libraries" -G -- I actually mean low-level api's. I want to code my own snmp client by using the same techniques (i assume) net-snmp uses. Gr, Alef

synchronous versus asynchronous

2006-11-14 Thread Alef Veld
Hello, If i wanted to discover a large amount of hosts, which method would be better. How does asynchronous work? Does it just send a bunch of udp packets in a threaded fashion? Another thing; as i start my foray in this snmp world :-), there seem to be _almost_ no librarys who deal directl