improved handling for list of telnet commands

This commit is contained in:
Igor Socec 2014-03-19 11:20:16 +01:00
parent 676e16a477
commit bdf36796bf
6 changed files with 36 additions and 14 deletions

View file

@ -1,3 +1,9 @@
/*
* Main server application.
* Handles client connections on specific TCP port and allows bidirectional
* communication with a specific TTY device.
*/
#include "moxerver.h"
#include <signal.h> /* handling quit signals */
#include <pthread.h>
@ -8,7 +14,6 @@
#define PORT_MIN 4001 /* minimum TCP port number */
#define PORT_MAX 4008 /* maximum TCP port number */
/* Prints help message. */
static void usage() {
//TODO maybe some styling should be done