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(PeerAddr => $server_name,Proto
=>"tcp",PeerPort => 25,Type =>SOCK_STREAM, Timeout => 30)

It looks like the timeout parameter does not work. My script can be frozen
by one server for days, never return to me.

Any suggestion will be highly appreciated.

Many thanks,
Jeff Liu 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to