I'm not sure what you mean by "code command".
Unless I'm gravely mistaken, what you get on the server-side is exactly what was sent from the client. You would construct a sequence of characters that exactly duplicates the sequence of characters that you can sniff on the server-side.
Send that sequence of characters through a socket that connects to the correct IP and port, and it should be understood on the other end as "aha, an HTTP request".
Whatever is listening to port 80 is expecting HTTP requests. And as long as the packets that it receives can be decoded to look like "POST
http://205.200.230.44:8080/ee/edit HTTP/1.0\n", etc, etc... then that is the 'command'.
If you mean the command to send this sequence of characters, I don't know.. you're doing it in VB right?
Hopefully Bill Brogden will notice this
thread and butt in if I'm wrong (or anyone else).
[ March 21, 2003: Message edited by: Mike Curwen ]