i want to change my sourceip address.
I dont want to get response back just to sent the tcp packet.
i try
pIPHeader.SourceIp:=inet_addr(‘xx.xx.xx.xx’);
but i think need more like recalculation of piHeader values.
Yes, besides changing the IP address you have to recalculate packet checksums. You can find some C++ sample code in the Internet Gateway. When doing NAT it changes source IP address and recalculates checksums.