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

Re: HTTPAPI error in https_connect



Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>


Hi Ian,

> 2942.00 C*  Did it work?
> 2943.00 c                   if        connect(s: %addr(peSockAddr):
> 2944.00 c                                %size(sockaddr)) < 0
> 2945.00 c                   if        errno <> EISCONN
> 2946.00 c                   callp     SetError(HTTP_BADCNN: 'connect(): ' +
> 2947.00 c                                %str(strerror(errno)) )
> 2948.00 c                   callp     close(s)

Try changing the connect statement to read:

     c                   if        connect(s: peSockAddr:
     c                                %size(sockaddr)) < 0


Please let me know if that solves the problem.  I've got my copy of
HTTPAPI all torn to pieces right now.  I can't run it to try to reproduce
anything :)


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