[REBOL] Re: tcp spy ?
From: petr:krenzelok:trz:cz at: 10-Aug-2003 12:31
>I am looking for a script/an example/a piece of code to spy what is going on between
a server and a client.
>The server, dbtcp.exe, is listening on tcp://3000.
>The client, DBTCPClientTest.exe, is sending its request on the same port.
>My goal is to write a Rebol client, but I don't know exactly what the client is sending
and what the server is answering.
>So I wonder it is perhaps possible to write a Rebol program to dump the data.
>I have tried a few things, but it is too hard for me!
>Note: the port number can be changed on both the client and the server, and for the
moment both programs are on the same machine.
>Any help will be greatly appreciated...
does it have to be a rebol? If you want to watch your packets, I would
suggest you fine tool called Ethereal. It is completly free and
powerfull. Otherwise - how would you achieve it? You have to go to
Ethernet layer to watch your communication. If you want to use just
Rebol + TCP, - you can't do it im technically. The only possible way is
to put proxy (you can find one in library) in-between your server and
client - that way you will be able to control what is being communicated ...