[Winpcap-users] error compiling udp = (udp_header*)((u_char*)ip + ip_len);

Ziara . essence_z at hotmail.com
Thu Mar 13 19:00:48 GMT 2008


Hello, i'm compiling my application in builder c++ v6 and when I add: u_int ip_len = (ip->ver_ihl & 0xf) * 4; //Longitud de Ip headerudp = (udp_header*)((u_char*)ip + ip_len); where ip_header *ip; I have a error in the line number two: cannot convert udp_header*  to udp_header I don't know what happend. Someone know? thanks in advanced
_________________________________________________________________
MSN Video. 
http://video.msn.com/?mkt=es-es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20080313/516218b8/attachment.htm


More information about the Winpcap-users mailing list