View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0022289FPCFCLpublic2012-06-18 09:282013-03-05 11:01
ReporterBram van Vliet 
Assigned ToYury Sidorov 
StatusresolvedResolutionno change required 
PlatformArmOSAndroidOS VersionICS
Product VersionProduct BuildFPC 2.5.1 / NDK-R8 win32 
Target VersionFixed in Version2.7.1 
Summary0022289: (Android) Sockets StringToHost & StringToNet always returns empty in_addr
DescriptionSockets StrToHost & StrToNet always returns empty in_addr when supplied a valid IP address string. This blocks usage of LNet for example.
Steps To ReproduceOn android (custom drawn interface) simply call StrToNet or StrToHost with a valid ip address string e.g. '' and the returned in_addr will be empty.
Additional InformationTried with Lazarus 1.1, FPC 2.5.1 for Android & NDK-R8 win32
TagsNo tags attached.
Fixed in Revision
Attached Files

- Relationships

-  Notes
Bram van Vliet (reporter)
2012-06-18 09:41

My first report (can not modify it myself?), can someone please modify it so it is clearly visible its only a android issue and not "major"?

Tested on win32 / linux / osx and there these functions work fine.
Sven Barth (manager)
2012-06-19 09:40

Did you use the Android port from the "targetandroid" (see ) branch? If not then please test with that. 2.5.1 does not officially support Android.

Bram van Vliet (reporter)
2012-06-29 13:39

Sorry for the late response.

Thus far i have not been able to get a branch version "working". I am unfamiliar with SVN and building from source. Thats why i tried the "pre compiled 2.5.1" version from a wiki. Still learning and trying to get a version up and running...
Yury Sidorov (manager)
2013-03-05 01:29

Both StrToNetAddr and StrToHostAddr work in trunk.

- Issue History
Date Modified Username Field Change
2012-06-18 09:28 Bram van Vliet New Issue
2012-06-18 09:41 Bram van Vliet Note Added: 0060603
2012-06-18 09:54 Marco van de Voort FPCOldBugId => 0
2012-06-18 09:54 Marco van de Voort Severity major => minor
2012-06-18 09:54 Marco van de Voort Summary Sockets StringToHost & StringToNet always returns empty in_addr => (Android) Sockets StringToHost & StringToNet always returns empty in_addr
2012-06-19 09:40 Sven Barth Note Added: 0060622
2012-06-19 09:40 Sven Barth Status new => feedback
2012-06-29 13:39 Bram van Vliet Note Added: 0060736
2013-03-05 01:12 Yury Sidorov Assigned To => Yury Sidorov
2013-03-05 01:12 Yury Sidorov Status feedback => assigned
2013-03-05 01:29 Yury Sidorov Note Added: 0066014
2013-03-05 01:29 Yury Sidorov Status assigned => resolved
2013-03-05 01:29 Yury Sidorov Fixed in Version => 2.7.1
2013-03-05 01:29 Yury Sidorov Resolution open => no change required

MantisBT 1.2.12[^]
Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker