Another thing ...

How can i analyse IP Packet and discovery if the application protocol who send him is HTTP, FTP, SMTP, etc.. ?

Flamur Rogova wrote:
Hi,

  
How can I determine after pcap_next_ex whether the caught packet was
from UDP or TCP connection?
    

you have to parse IP header and read the protocol field, which tells what type of packet is carried within IP packet, (TCP, UDP, ICMP, .... )

here is an example http://winpcap.polito.it/docs/docs31beta4/html/index.html


Flamur Rogova


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

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]
==================================================================

  

Reply via email to