/* * main.cpp * * Created on: 2014-05-05 * Author: mathieu */ #include #include #include "ImagesTcpServer.h" void showUsage() { printf("imagesTcpServer [options]\n" " Options:\n" " -hz #.# Image rate (default 10 Hz).\n" " -p # Set manually a port to which the clients will connect.\n" " -path \"\" Set a path of a directory of images or a video file.\n"); exit(-1); } int main(int argc, char * argv[]) { QString ipAddress; float hz = 10.0f; quint16 port = 0; QString path; for(int i=1; i