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

Re: Connect() error



Sender: <evilmwn-sk@xxxxxxxxx>

Hi Scott,
After running it through debug, the first connect runs
and returns a result equivelant to EINPROGRESS, as it
passes that check.  The second connect also completes
but does return the error at that point.  The values
are as follows.
connect(s: peSockAddr: %size(sockaddr))
   eval s = 4
   attr s: TYPE = INTEGER, LENGTH = 4 BYTES  

   eval PESOCKADDR = SPP:F8D7940037006440 
   attr peSockAddr: TYPE = PTR, LENGTH = 16 BYTES

   ATTR sockaddr: TYPE = RECORD, LENGTH = 16 BYTES
   EVAL sockaddr                                      
                 
     SA_FAMILY OF SOCKADDR = 2                        
                   
     SA_DATA OF SOCKADDR = ' &âüm        '           
                   
   EVAL sockaddr:X                                    
                 
     00000     00020050 42DC1D94 00000000 00000000   -
...&âü.m........

Matt

--- Scott Klement <sk@xxxxxxxxxxxxxxxx> wrote:

> Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>
> 
> 
> Hi Matt,
> 
> >
> > It looks to be 1.10 Scott.
> >
> 
> Hmmm.. if you're using 1.10, then this isn't the
> same problem that I fixed 
> last time (though, it has the same symptom)
> 
> The error message that you've reported is sent by a
> subprocedure called 
> CommTCP_connect(), which is located in the source
> member called COMMTCPR4 
> in file QRPGLESRC in LIBHTTP.
> 
> If you look at that subprocedure, you'll see that
> the connect() API is 
> called twice. Both of the calls issue the same
> message. Can you check to 
> see which of the two calls to connect() is failing? 
> Can you tell us what 
> the parameters it's passing to connect() are on each
> call?
> 
>
-----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubsribe from
> the list send mail
> to majordomo@xxxxxxxxxxxxx with the body:
> unsubscribe ftpapi mymailaddr
>
-----------------------------------------------------------------------
> 

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------