typedef struct hf2000Info { char* deviceName; struct termios IO; struct termios prevIO; int fd; int flagClient; int flagServer; int serverSocket; int serverFD; char* hostname; u_short port; u_short maxPort; u_short portSpeed; } hf2000Info;