Hai, Pcap_findalldevs() will give the interfaces information, for port number you have to give the port number in filter.
Prasanna Kumar.N, IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 ============================================= This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the sender immediately by e-mail and delete this e-mail from your system. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any attachment with this email. IMImobile, Plot No:770, Road No : 44, Jubilee Hills, Hyderabad, India, 500033. www.imimobile.com ============================================================================ ============================================================================ == This e-mail message has been scanned for Viruses and Content and cleared by Symantec Mail Security -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of rajath kumara Sent: Friday, June 03, 2011 12:18 PM To: [email protected] Subject: [tcpdump-workers] problem with port numbering Hello, I am currently facing problems with understanding how port numbering occurs, with pcap_findalldevs(). kindly help me to figure out, how to determine the port numbering through pcap....... Thank you. Awaiting your reply - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
