Reply To: Modify Packet

Home Forums Discussions Support Portal Modify Packet Reply To: Modify Packet


Vadim Smirnov

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…