[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem Connecting - select() call in TCP_Conn



Scott,

I have gotten it working by reverting back to a fresh copy of the source
from your site. I had used a source conversion tool to convert it to Free
form since that is easier for me to follow with my coding background.
Something unintentional must have happened when I converted the source. I
am now using it without the conversion and it works perfect. Thanks for the
great API!

Robert Newton
EDPS
Electronic Data Processing Services
Software Engineer
rnewton@xxxxxxxxxxxxxxxxx

Larry Wall, the author of Perl, once wrote that the three essential
character flaws of any good programmer were sloth, impatience and hubris.
Good programmers want to do the minimum amount of work (sloth). They want
their programs to run quickly (impatience). They take inordinate pride in
what they have written (hubris).

This communication is confidential and is intended to be privileged. If
there is a problem with this transmission, please contact the sender. If
the reader of this message is not the intended recipient, or the employee
or agent responsible to deliver it to the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.


|------------>
| From:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |RNewton@xxxxxxxxxxxx                                                                                                                              |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>                                                                                       |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |03/05/2009 10:36 AM                                                                                                                               |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Re: Problem Connecting - select() call in TCP_Conn                                                                                                |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Sent by:   |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx                                                                                                             |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|





Scott,

While testing a bit more I see that by not specifying a timeout it makes a
difference by causing it to skip over the "Put socket in non-blocking
mode:" section. It never makes it down to the select() because it exits at
the return wwSocket inside of the if connect() call.

However, now it is hitting the select() call a couple of calls deep in the
login() method. (in recvline to be exact) and timing out there instead. So
my problem still persists.

Thanks,
Robert Newton
EDPS
Electronic Data Processing Services
Software Engineer
rnewton@xxxxxxxxxxxxxxxxx

Larry Wall, the author of Perl, once wrote that the three essential
character flaws of any good programmer were sloth, impatience and hubris.
Good programmers want to do the minimum amount of work (sloth). They want
their programs to run quickly (impatience). They take inordinate pride in
what they have written (hubris).

This communication is confidential and is intended to be privileged. If
there is a problem with this transmission, please contact the sender. If
the reader of this message is not the intended recipient, or the employee
or agent responsible to deliver it to the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.



  From:       Scott Klement <sk@xxxxxxxxxxxxxxxx>


  To:         HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>


  Date:       03/04/2009 07:28 PM


  Subject:    Re: Problem Connecting - select() call in TCP_Conn


  Sent by:    ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx







Hi Robert,

Do you mean you're running the IBM FTP client on the same box, and it's
connecting, but FTPAPI isn't?

Or do you mean you're using the ftp client on your PC in Windows?

Or... what do you mean by manually?


RNewton@xxxxxxxxxxxx wrote:
> All,
>
> We are unable to connect to any FTP sites for an unknown reason. The
error
> is occurring on the select() call in TCP_Conn (it is timing out). I can't
> find any information about why this is failing, but I am able to connect
to
> the site manually.
>
> Can anyone offer any insight or point me in the right direction on how to
> track down the problem?
>
> Thanks,
> Robert Newton
> EDPS
> Electronic Data Processing Services
> Software Engineer
> rnewton@xxxxxxxxxxxxxxxxx

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------





This communication and any transmitted documents are intended to be
confidential. If there is a problem with this transmission, please contact
the sender. If the reader of this message is not the intended recipient, or
the employee or agent responsible to deliver it to the intended recipient,
you are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited.

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------




 
This communication and any transmitted documents are intended to be confidential. If there is a problem with this transmission, please contact the sender. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------