On Thu, 29 Aug 2002 13:38:55 -0400, Rocco Caputo <[EMAIL PROTECTED]> wrote:
I don't know how long Windows 2000 waits for connect() to fail. Uncomment the EWOULDBLOCK line in SocketFactory.pm, and be patient. See if it doesn't fail to connect after a few minutes. Well, here are the (digested) results: This all started at: Wed Sep 4 15:17:50 2002 at C: \RSA\agent\bin\sys-agent.pl line 43. ,----- SELECT BITS IN ----- | READ : 00000000 | WRITE : 00000000 | EXPEDITE: 00000000 `-------------------------- .... socket at C:\RSA\agent\bin\..\lib/POE/Wheel/SocketFactory.pm line 484. connect at C:\RSA\agent\bin\..\lib/POE/Wheel/SocketFactory.pm line 736. Select_write, From which there is no return at C:\RSA\agent\bin\.. \lib/POE/Wheel/SocketFactory.pm line 250. !!! adding fileno (3) at C:\RSA\agent\bin\..\lib/POE/Kernel.pm line 2562. ??? watching fileno (3) vector (1) count(0) at macro substrate_watch_filehandle (defined in C:\RSA\agent\bin\.. \lib/POE/Kernel/Select.pm at line 145) invoked from C:\RSA\agent\bin\.. \lib/POE/Kernel.pm line 2670. === fileno(3) vector(1) count(0) at C:\RSA\agent\bin\..\lib/POE/Kernel.pm line 2635. ??? resuming fileno (3) vector (1) count(0) at macro substrate_resume_filehandle_watcher (defined in C:\RSA\agent\bin\.. \lib/POE/Kernel/Select.pm at line 177) invoked from C:\RSA\agent\bin\.. \lib/POE/Kernel.pm line 2640. ,----- SELECT BITS IN ----- | READ : 00000000 | WRITE : 00010000 | EXPEDITE: 00000000 `-------------------------- Wed Sep 4 15:18:26 2002 select timed out... ,----- SELECT BITS OUT ----- | READ : 00000000 | WRITE : 00000000 | EXPEDITE: 00000000 `--------------------------- ,----- SELECT BITS IN ----- | READ : 00000000 | WRITE : 00010000 | EXPEDITE: 00000000 `-------------------------- .... Wed Sep 4 15:29:06 2002 select timed out... ,----- SELECT BITS OUT ----- | READ : 00000000 | WRITE : 00000000 | EXPEDITE: 00000000 `--------------------------- ??? ignoring fileno (3) vector (1) count(0) at macro substrate_ignore_filehandle (defined in C:\RSA\agent\bin\.. \lib/POE/Kernel/Select.pm at line 156) invoked from C:\RSA\agent\bin\.. \lib/POE/Kernel.pm line 2753. !!! deleting fileno (3) at C:\RSA\agent\bin\..\lib/POE/Kernel.pm line 2776. The above deletion occurred when I terminated the script. It seems that ten minutes is long enough. I suppose I could let it run overnight, but the idea is that it return with an error in a timely fashion (I'm okay with two or three minutes, but not ten). I am running the script with a bogus remote host address (The script will be configured at remote sites by unfamiliar people, so it needs to be robust and report decent errors). I am going to impliment this with Net::FTP and see if there is any difference. -- Paul Simons Bellevue, WA ALSTOM's T&D Energy Automation & Information Business CONFIDENTIALITY: This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.
