Add sockets support & dump to file

This commit is contained in:
Edward Emelianov
2022-02-01 21:53:31 +03:00
parent c03d11e7b6
commit c8028d6156
9 changed files with 506 additions and 79 deletions

View File

@@ -26,8 +26,11 @@
typedef struct{
int speed; // baudrate
int tmoutms; // timeout for select() in ms
int socket; // open socket
char *dumpfile; // file to save dump
char *ttyname; // device name
char *eol; // end of line: \r (CR), \rn (CR+LF) or \n (LF): "r", "rn", "n"
char *port; // socket port
} glob_pars;