Home › Forums › Discussions › Support › Modify Packet › Reply To: Modify Packet
January 23, 2004 at 10:28 pm
#5445
This is just a sample, but you can define them as below:
string sought = “sex”;
string replacement = “foo”;
plz also clear my doubt that can i store the return value into another PINTERMEDIATE_BUFFER buffer and then RecalculateTCPChecksum by passing the new buffer. plz solve my problem
I’m not sure I understand your problem here. The function I have provided recalculates checksum for the modified packet. If you want to copy the packet then just copy INTERMEDIATE_BUFFER structure but I can’t find any good reason whay you may need this…