jettero has asked for the wisdom of the Perl Monks concerning the following question:
I wish to be able to play on KGS from my laptop in the living room. My laptop is ancient and is set up for text only operation -- go lunix. The protocol is closed, the client is closed, and I don't really wish to reverse engineer the whole thing.
What I wish to do is sniff out the moves from the stream and draw the board with curses. Using curses to draw the board, is no problem at all for me. It's the network sniffing I need help with.
Besides sniffing the moves from the stream, I'd like to be able to insert fake mouse clicks back into the stream -- so I can make moves from the living room.
Again, I don't really wish to re-implement the whole protocol. I wish to let the java client do it's thing normally -- but assisted from the living room.
Is this even possible? Is Net::Pcap the way to go?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: simple sniffer/injector
by Corion (Patriarch) on Jan 26, 2004 at 13:32 UTC | |
by jettero (Monsignor) on Jan 26, 2004 at 15:10 UTC | |
by Anonymous Monk on Jan 27, 2004 at 08:27 UTC | |
by jettero (Monsignor) on Jan 27, 2004 at 12:53 UTC |