To test Gateway Device Server do the following:

1. Run LiveNetworkTest (from command line or Eclipse) with address for server to bind and port number, for example: "0.0.0.0 1234".
2. Use application as instructed in its opening message:
	- command syntax is: [ip address] [number of repetitions] [application] [parameters] , for instance: 10.0.0.1 5 chat hi_there_hey_there_ho_there
	- multiple IPs can be specified separated with semicolons, for instance: 10.0.0.1;10.0.0.100
	- ranges of IPs can be specified with a dash, for instance: 10.0.1.200-10.0.2.10
	- if a message contains spaces, surround it with quotation marks
	- type 'exit' (at the beginning of the command) to quit the application
3. You should be able to see all echo requests sent and responses received, probably some errors, too.

Available applications and their parameters:
chat - takes one parameter, message to be echoed, for instance: chat "hello there"; should return information about device's response
discover_vivotek - takes no parameters, returns list of detected cameras (including their IP addresses, MACs and names)
tcpproxy - takes local port number to listen on, remote device IP address and port, for example: tcpproxy 234 192.168.21.156 80

IMPORTANT:
Do not forget to connect the device (or the BSD socket client) to the server before using applications!