Re: Timeout problem

2004-07-06 Thread Philipp Traeder
On Tuesday 06 July 2004 10:58, Werner Otto wrote: > Hi All, > > I have the following script: Hi Otto, IIRC, you've posted nearly exactly the same question last thursday... > > #!/usr/bin/perl > use IO::Socket; > > my $host=shift @ARGV or die 'need hostname'; > my $port=shift @ARGV or die 'need p

Timeout problem

2004-07-06 Thread Werner Otto
Hi All, I have the following script: #!/usr/bin/perl use IO::Socket; my $host=shift @ARGV or die 'need hostname'; my $port=shift @ARGV or die 'need port number'; my [EMAIL PROTECTED] or die 'need timeout';; my $socket=IO::Socket::INET->new(PeerAddr=> $host, PeerPort => $port, Proto =>

socket connection timeout problem

2002-01-03 Thread Jeff Liu
Happy new year to all. I am a new subscriber and wonder if you can give me a hand. I am using perl 5.004-05 and want to write a perl script to connect smtp server, somehow my script get stuck when connect one or two servers. I am using perl function as below, $socket = IO::Socket::INET->new(Pee

Re: timeout problem

2001-09-19 Thread Jos I. Boumans
what code/modules are you using? and try: perldoc THATMODULE first please hth Jos - Original Message - From: "Rahul Garg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 19, 2001 12:27 PM Subject: timeout problem Well, I am getting th

timeout problem

2001-09-19 Thread Rahul Garg
Well, I am getting the html pages from site. well while getting the pages ,sometimes i get Timeout.if the server response or speed is slow..how can i increase the timeout time...is there any function for it in perl or any help/suggestions...