On Thu, Dec 27, 2001 at 09:34:20PM +1100, Vidhya A wrote: > I have written a simple packet capture code as > below. > I am getting blocked for ever in pcap_next though i > have given a timeout in pcap_open_live. This is completely off topic for this list. Please use a more appropriate forum. See http://www.tcpdump.org/#lists . Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl WWW: http://www-ict.its.tudelft.nl/~erik/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/