C++Builder 10 Seattle Indy Android

This is the forum for miscellaneous technical/programming questions.

Moderator: 2ffat

C++Builder 10 Seattle Indy Android

Postby Lena » Wed Sep 02, 2015 5:19 am

Hi.
Can I use the Indy library in full in Android projects?
Are there any restrictions?
Thanks.
Lena
BCBJ Master
BCBJ Master
 
Posts: 551
Joined: Sun Feb 06, 2011 1:28 pm

Re: C++Builder 10 Seattle Indy Android

Postby rlebeau » Wed Sep 02, 2015 2:05 pm

Lena wrote:Can I use the Indy library in full in Android projects?


Yes.

Lena wrote:Are there any restrictions?


For the most part, Indy works the same on all platforms. Though there are some differences in the underlying platform APIs used. For instance, the TIdStack::GetLocalAddressList() method (and by extension, the TIdStack::LocalAddress[es] properties) does not work on Android yet. Well, it "works", in that you can call it and it won't crash/fail, but it does not report the correct IP.

And you cannot bind a TIdTCPServer to separate IPv4/IPv6 network interfaces using the same port on both, like you can on many platforms including Windows.

But otherwise, Indy's TCP/UDP components work on Android in general.
Remy Lebeau (TeamB)
Lebeau Software
User avatar
rlebeau
BCBJ Author
BCBJ Author
 
Posts: 1498
Joined: Wed Jun 01, 2005 3:21 am
Location: California, USA

Re: C++Builder 10 Seattle Indy Android

Postby Lena » Thu Sep 03, 2015 1:57 am

Thanks very much for detailed answer!
Lena
BCBJ Master
BCBJ Master
 
Posts: 551
Joined: Sun Feb 06, 2011 1:28 pm


Return to Technical

Who is online

Users browsing this forum: No registered users and 19 guests