| Anonymous | Login | Signup for a new account | 2013-06-20 09:41 CEST | ![]() |
| All Projects | FPC | Lazarus: Packages, Patches | Lazarus CCR | Mantis | fpGUI | fpcprojects: fpprofiler |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0022289 | FPC | FCL | public | 2012-06-18 09:28 | 2013-03-05 11:01 | ||||
| Reporter | Bram van Vliet | ||||||||
| Assigned To | Yury Sidorov | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | resolved | Resolution | no change required | ||||||
| Platform | Arm | OS | Android | OS Version | ICS | ||||
| Product Version | Product Build | FPC 2.5.1 / NDK-R8 win32 | |||||||
| Target Version | Fixed in Version | 2.7.1 | |||||||
| Summary | 0022289: (Android) Sockets StringToHost & StringToNet always returns empty in_addr | ||||||||
| Description | Sockets StrToHost & StrToNet always returns empty in_addr when supplied a valid IP address string. This blocks usage of LNet for example. | ||||||||
| Steps To Reproduce | On android (custom drawn interface) simply call StrToNet or StrToHost with a valid ip address string e.g. '192.168.1.10' and the returned in_addr will be empty. | ||||||||
| Additional Information | Tried with Lazarus 1.1, FPC 2.5.1 for Android & NDK-R8 win32 | ||||||||
| Tags | No tags attached. | ||||||||
| FPCOldBugId | 0 | ||||||||
| Fixed in Revision | |||||||||
| Attached Files | |||||||||
Notes |
|
|
(0060603) 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. |
|
(0060622) Sven Barth (manager) 2012-06-19 09:40 |
Did you use the Android port from the "targetandroid" (see svn.freepascal.org/cgi-bin/viewvc.cgi/branches/targetandroid ) branch? If not then please test with that. 2.5.1 does not officially support Android. Regards, Sven |
|
(0060736) 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... |
|
(0066014) 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 |
| Main | My View | View Issues | Change Log | Roadmap |



