in reply to How to add payload in raw socket

Rahul Gupta,

I believe the addresses you are using are real Internet addresses. The private addresses are:

24-bit block10.0.0.0 - 10.255.255.255
20-bit block172.16.0.0 - 172.31.255.255
16-bit block192.168.0.0 - 192.168.255.255

If you are behind a NAT firewall/router, it doesn't matter since those addresses aren't visible to the Internet. But if you are using a non-NAT device to get to the internet, those addresses will be routed on the Internet and may give you some strange and interesting results :-)

Good Luck...Ed

"Well done is better than well said." - Benjamin Franklin