(Android) Sockets StringToHost & StringToNet always returns empty in_addr
Original Reporter info from Mantis: BramVanVliet
-
Reporter name: Bram van Vliet
Original Reporter info from Mantis: BramVanVliet
- Reporter name: Bram van Vliet
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
Mantis conversion info:
- Mantis ID: 22289
- OS: Android
- OS Build: ICS
- Build: FPC 2.5.1 / NDK-R8 win32
- Platform: Arm
- Fixed in version: 3.0.0