-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I've written an app that goes through two iterations of sending packets and then waiting for possible responses. The problem is that I have no way of knowing how many replies (if any) or which reply is the last reply. I've been trying to use both pcap_loop and pcap_dispatch to read packets, but I'm running into cases where they never return. I've also tried using alarm/signal to do a longjmp back into my code to continue. This actually works the first time, but pcap_read_packet() seems to be blocking the SIGALRM the second time. I've tried using kill to send the SIGALRM manually, and it's still blocked. (Yes, I reset my signal handler and restarted the alarm timer.) My current development environment is a Linux box w/ 2.4.19 kernel but I'm also targeting *BSD/Solaris. I know the "obvious" solution is to use the libpcap code in CVS and use pcap_setnonblock(), but I'm trying to NOT require code that most people wont have. Two questions: Other than upgrading, does anyone know of a possible solution? How close to an offical release is the CVS tree? Is it considered stable? Thanks. - -- Aaron Turner <aturner at pobox.com|synfin.net> http://synfin.net/aturner They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin pub 1024D/F86EDAE6 Sig: 3167 CCD6 6081 0FFC B749 9A8F 8707 9817 F86E DAE6 All emails by me are PGP signed; a lack of a signature indicates a forgery. I have retired my PGP 2.6.2 key: FBE1 CEED 57E4 AB80 596E 60BF 451B 20E8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Public key at: http://www.synfin.net/aturner/pgpkey.asc iEUEARECAAYFAj1ud4kACgkQhweYF/hu2uZztgCYs9OGcJosPb2OUUITq4eVPTmi mwCgkg6elFPgF2V9rG4C8aDzf2eDSh4= =aoE8 -----END PGP SIGNATURE----- - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe
