i think this might just work... (i will keep my fingers crossed)
in reply to How can i simulate a form post using sockets?
$host is the IP address of the required host
my $socket=new IO::Socket(
) or die "cannot create socket\n";
#print the input to the socket
print $socket "<your get command here">;
#read the input from the socket
print $socket "<your post command here>";
the thing is to connect to port 80 and do simple HTTP requests.......
the print statement prints the request to directly to the socket and then it is directly read from the socket
you can even loop indefinitely if you want.....
giving an terminating condition....