RE: [WinPcap-users] Why is pcap_loop deprecated?

2004-05-15 Thread Fulvio Risso
Hi.

 -Original Message-
 From: Rob Henningsgard [mailto:[EMAIL PROTECTED]
 Sent: venerdi 14 maggio 2004 20.32
 To: [EMAIL PROTECTED]
 Subject: [WinPcap-users] Why is pcap_loop deprecated?


 Hello all,

 Can anyone tell me why pcap_loop() is deprecated?  I am writing
 a multi-threaded application in which I want to use (or simulate)
 overlapped IO, and pcap_loop() looks like exactly what I'd want
 to use.  The idea of a polling approach, looping on the call
 to pcap_next_ex() just doesn't seem like the right way to go.

We (WinPcap maintainers) believe that a polling mechanism is much cleaner to
understand and to use.
We can see that most of the people that are going to start coding with
libpcap/WinPcap have problems to understand the pcap_loop() (and the
corresponding callback function) mechanism.

So, we believe the pcap_next_ex() is much better.

Feel free to use pcap_loop() if you prefer that one.

fulvio




==
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[EMAIL PROTECTED]/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]
==


[WinPcap-users] ANNOUNCE: WinPcap 3.1 beta3 has been released

2004-05-15 Thread Gianluca Varenni
The beta3 of WinPcap 3.1 is available from today in the download section of
the WinPcap site.

WinPcap 3.1 beta3 is a minor update, that fixes a couple of bugs present in
beta2, that prevented it to work on Windows 9x.



CHANGELOG
=

- Bug fixing:
  + Fixed a bug related to device listing if TCP/IP is not installed: on
2000/XP if TCP is not installed, it reported you must install TCP/IP,
and this was plain wrong.
  + Added PacketSetSnapLen() under Win9x. Without this function, wpcap.dll
fails to load on Win9x.
  + PacketGetAdapterNames() has been rewritten under Win9x, in order to
comply to the correct behavior specified in the documentation.




=







==
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[EMAIL PROTECTED]/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]
==