@Rlibby or anyone else who can give suggestions :)
Please refer to http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_21391643.html
for redirect code that I'm using.
Now that the relay is functioning how I want it to I want to start immediately modifying some of the inbound data. Based on the translated port redirect I'm assuming some things as I have usually messed with TClientSocket components that have Sendtext methods for sending socket data, as well as SendBuf.
Any ideas on a good way to do this, I have a couple packet positions that I'd like to manipulate (copy data between them) patch recv buffer and send it back out the relay.
Since the buffer is a character array, string manipulations would require me to create a temp buffer, point it to the filled recv buf and convert the array of chars to a string, make some string modifications, convert the string back to a character array and send the buffer back out? Is it possible to operate on a filling recv buffer with string manipulation routines easily, could I see a quick example or a general idea of modifying a recv, stripping html tags or something of that nature. It seems I'm not looking in the right places for Delphi Winsock programming related material and it forced me to get an experts-exchange account :( But I have been impressed with answers so far =)