FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour TIpClientHttp()
Posts: 36
Joined: Fri May 22, 2015 04:05 PM
TIpClientHttp()
Posted: Sat Oct 27, 2018 11:39 PM

Utilizo Xharbour, y necesito usar la clase de referencia, que librerias debo utilizar,
Gracias!

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 36
Joined: Fri May 22, 2015 04:05 PM
Re: TIpClientHttp()
Posted: Tue Nov 13, 2018 12:13 PM

Muchas gracias, voy a probar!

Posts: 36
Joined: Fri May 22, 2015 04:05 PM
Re: TIpClientHttp()
Posted: Mon Nov 19, 2018 08:43 PM

Hola Enrico, probe con la lib Tip, y no tira errores, pero ,me pide la harbour.dll.
que no la consigo, tenes idea donde obtenerla?
Gracias

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: TIpClientHttp()
Posted: Mon Nov 19, 2018 09:52 PM

You don't need harbour.dll. I don't know why it is asking for it. Check your compile batch.

EMG

Posts: 36
Joined: Fri May 22, 2015 04:05 PM
Re: TIpClientHttp()
Posted: Mon Nov 19, 2018 10:25 PM

El error es en tiempo de ejecucion, me pide que instale harbour.dll

Posts: 36
Joined: Fri May 22, 2015 04:05 PM
Re: TIpClientHttp()
Posted: Sat Nov 24, 2018 11:19 AM

Gracias, Enrico, habia incluido otra lib, y en el momento de la ejecucion, pedia que estuviese intalada la xharbour.dll, pude compilar, y ejecutar

Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: TIpClientHttp()
Posted: Wed Jan 02, 2019 12:01 PM
Hi,

For HBTIP Users

WARNING for HBTIP users
=======================

Due to the excessive amount of problem reports and long known (and unfixed)
problems and due to the non-trivial nature of internet protocols, this document
_strongly recommends to avoid_ using this library in anything production or
in fact anything more serious than simple test code for educational purposes.
Please notice that even if something happens to work in some specific
scenario, it's highly likely it's not a stable solution, nor is it a secure
solution.

The only reason hbtip hasn't been deleted altogether is compatibility
with 3.0, xHarbour and existing projects, plus the fact there are still some
low-level functions that do work fine (tip_MimeType()) or have no better
replacement yet (tip_MailAssemble()).

For internet protocol related tasks, the recommended and supported library
is _hbcurl_, which is a thin wrapper over libcurl's 'easy' API. libcurl is
a highly ubiquitious, very stable, actively and professionally developed,
secure communications library:

https://curl.haxx.se/libcurl/c/

hbcurl's functionality covers _all_ hbtip protocol classes, and it does offer
support for several protocols besides these.

If you're looking for all required static and dynamic libraries to use hbcurl,
including OpenSSL and libssh2, both 32 and 64-bit. See this page about feature
support and other details:

https://github.com/vszakats/harbour-deps/

Usage examples found on the internet for other languages are most of the time
directly usable with minor modifications in Harbour. You can find several
working examples under the hbcurl tests directory as well. Live curl
command-lines can also be converted into compilable/adaptable API code using
the `--libcurl <targe-source-file>` curl option.

If you opt to use hbtip anyway, and find any problem with it (like very common
SMTP or FTP incompatibilities with various live servers found on the internet),
your best bet is to address the problem yourself. Patches of sufficent quality
will be of course accepted.
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: TIpClientHttp()
Posted: Wed Jan 02, 2019 12:08 PM

I'm using TIPClientPOP with xHarbour and found no problem at all with it.

EMG

Continue the discussion