Description
-----------
FLPing is small console utility that pings Freelancer servers in same way as Freelancer.exe does.
It can tell you if a Freelancer server is alive and bring server info and the count of online players without running Freelancer.exe.
FLPing also shows accumulated statistics: Sent/Received/Lost requests count and Min/Max/Average ping round-trip time.

Features
--------
* Does not require Freelancer to be installed or run.
* Works even if ICMP is blocked for given FL server.
* Retrieves info from servers with "incompatible build" (running TNG mod etc).
* Coded in pure C++ and does not require Microsoft .NET Framework.
* Returns average ping time on exit that can be usefull for batch processing.

Changes since v1.0
------------------
* Default behavior is changed. Now FLPing pings server 5 times and exit if no other is specified.
* Added command line options -t and -n to specify number of pings to send.
* Added command line option -w to specify timeout waiting for server response.
* FL server port command line argument is now optional.
* Now returns average ping time as exit code.
* Fixed minor bug in statistics output.

Usage
-----
       FLPing [-t | -n PingCount] [-w Timeout] <FLServerIP> [FLServerPort]
       where
            <FLServerIP>   - IP address of Freelancer server to be pinged
            [FLServerPort] - port of Freelancer server to be pinged (optional)
                             default is 2302
            -t             - ping till Ctrl-C is pressed
            -n PingCount   - ping PingCount times and exit
            -w Timeout     - timeout to wait server response in milliseconds
                             default is 1000 ms
       By default FLPing pings server 5 times and exits

       Options field in server info means:
            PvP  - server allows player killing
            New  - server allows create new account
            Pswd - server protected by password

