You need to main db of those numbers ( each remote port/ip -is key in this
case )
To use raw socket you create socket with second parameter SOCK_RAW
like
socket(AF_INET, SOCK_RAW, IPPROTO_RAW);
Don't forget to set the socket options
setsockopt(s, IPPROTO_IP,IP_HDRINCL, (char*)&bufsz, sizeof(bufsz);
HTH
Arkady
Post by gudduPost by Arkady FrenkelBen Voigt answered already for such question in the thread one before yours,
you need to use raw sockets ( admin mode ) to check that.
Arkady
Hi Arkady,
Ben suggested me to use sequence numbers in the packets. In my case all
packets are independant and are from different sources.
Anyways I want to know how can I use raw sockets for this purpose...
Regards,
Vishal