Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Low Level Perl sockets

Status
Not open for further replies.

tewari68

Programmer
Jan 25, 2005
87
US
Hi,
I am fairly new to perl programming.
I am trying to write a client and a server perl socket where by the client socket sends a file to a server(POST request, port 80, http) and on the server side the file is received by the server socket and written to a directory.
I know there is a NET::HTTP perl library which should be used for the purpose, I would appreciate if anybody can point to some examples on how to start that.
I wrote a server socket but keep getting error - cannot connect to port 80 - address already in use though I am using Reuse=>1, while creating the socket (server side).

Really appreciate any help.
Thanks
 
I think you can see the documentation on CPAN about the module which you talk about. there must be some examples on the documentation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top