[delphi]winsock recv and block specifc packet

03/04/2016 13:08 meninoand#1
Hello, i use the winsock send function by a SockerAddress
Example: send($00001,MyPacket,0);

I need a code example to recv a packets and put the same in a textbox, and block a especifc packet, example: c1 03 04
03/04/2016 13:26 warfley#2
I guess you want to edit the Packets send and received by an other program (a game?).

I guess the easiest way to do so is to create a proxy for the game, so your game connects to your application and your application connects to the server. With such a proxy you have the ability to manipulate the whole data transmissions.

And for this purpose i wouldn't use Winsocks, rather use components for this like Indy or Synapse.
03/04/2016 17:20 meninoand#3
I have Mayan easily using winsock , but this way seems interresante , but I think I'd better improve myself more to use it , when even seek winsock , you can help me with this?
the functions to send already have , I would like to receive and block
03/05/2016 09:29 warfley#4
It won't work like this, if you receive the package the game/other app can't receive them, also it would be pretty hard to synchronize. As I said create a proxy or inject code into the process but like this it won't work
03/06/2016 18:40 meninoand#5
you have some Guide of basic From Another method (create a proxy to manipulate packets) ?
03/07/2016 14:24 warfley#6
You could read [Only registered and activated users can see links. Click Here To Register...]. This will teach you the basics of network developing using Indy. Then creating the proxy shouldnt be a big problem