libhomeradareasy collect aircraft information |
4,654,851 registered contacts 57728 unique aircraft records, 9.31% unresolved records |
| ACARS DECODER Planespotting Network Kinetic Avionics AirNav Systems Airframes.org | ||||||
| Home Docu Examples Functions Downloads Database Search Online API Success Stories News Imprint / Contact | ||||||
![]() libhomeradar is an easy to use library for all type of programming language which can use libraries. libhomeradar can connect to different sources to collect aircraft informations arround the world with extended informations, powerful filtering and structured data access. libhomeradar is written in C and is available for Linux and Windows (2003, XP, NT, Vista). Currently libhomeradar works with the Kinetic Avionics SBS-1 base station and the Airnav Systems Radarbox. |
Install socket listener
Like the both homeradar products, libhomeradar can also create a socket on which you can connect to read all received messages. The output is in our own special (; separated format). You can also select the normal SBS-1 style output format. /* Install or disable listener for socket output dump Set second parameter to FALSE if you wish to disable the listener. If the second parameter is TRUE, port and hostname must also be set Use the LHR_ON / LHR_OFF macro for the onoff parameter. Add LHR_SBS1COMP to output contacts in SBS1 compatible format */ int homeradar_listener(LHR handle, const int onoff, const int port, const char *host);
To install your listener on port 8000 of your localhost and the output should be in the SBS-1 standard, you should call: You cannot install more then one listener on one LHR handle. The listener will be started in a separate thread.
|
|||||