Perl Monk, Perl Meditation | |
PerlMonks |
Re: How can i simulate a form post using sockets?by hnd (Scribe) |
on Jun 29, 2009 at 21:18 UTC ( [id://775822]=note: print w/replies, xml ) | Need Help?? |
i think this might just work... (i will keep my fingers crossed) $host is the IP address of the required host 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....
In Section
Seekers of Perl Wisdom
|
|