Advertisement

10.24.2007 at 12:33PM PDT, ID: 22915689
[x]
Attachment Details

Is it possible to open concurrent connections using Net::IMAP::Simple library ?

Asked by r_jony in Perl Programming Language

Tags: concurrent, connections, imap

Hi,
Is it possible to open concurrent connections using Net::IMAP::Simple library ?
My IMAP server allows 4 connections per ip, so I am having following problems while using Net::IMAP::Simple and Net::IMAP::Simple::SSL libraries:

1) The method new returns a valid connection even on 5th try, though the login fails as it looks like IMAP->login somehow knows that 5th object is not valid..Is it possible ?

2) Somtime, the script fails at the 3rd or 4th login itself? There is no error printed thru' errstr because if I try to print the error using $imap->errstr, perl gives me an error "Use of uninitialized value in concatenation (.) or string".

Is IMAP perl library not capable of handling the paralle;/concurrent connections


The system (IMAP server) works correctly when connected over telnet (telnet host 143) and it doesn't allow 5th parallel connection from same ip address. Any help would be appreciated.

Thanks

PS. I have sent a mail to cpan.org as well to let them know the problem. Here is the link http://rt.cpan.org/Public/Bug/Display.html?id=30229 . I am not sure if this is the library problem or I need to do something differently. Start Free Trial
 
Loading Advertisement...
 
[+][-]10.24.2007 at 02:28PM PDT, ID: 20143045

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.25.2007 at 05:54AM PDT, ID: 20147119

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.25.2007 at 11:34AM PDT, ID: 20150050

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.26.2007 at 07:30AM PDT, ID: 20155833

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.26.2007 at 07:45AM PDT, ID: 20155963

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.26.2007 at 12:30PM PDT, ID: 20158380

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.26.2007 at 12:41PM PDT, ID: 20158458

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Perl Programming Language
Tags: concurrent, connections, imap
Sign Up Now!
Solution Provided By: Adam314
Participating Experts: 1
Solution Grade: B
 
 
[+][-]11.02.2007 at 02:20PM PDT, ID: 20204600

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628