add support of local TCP sockets

This commit is contained in:
2025-02-12 09:15:32 +03:00
parent febbb0a6f8
commit 59995ae88a
3 changed files with 111 additions and 51 deletions

View File

@@ -27,8 +27,7 @@ typedef struct{
char *devpath; // path to serial device
char *pidfile; // name of PID file
char *logfile; // logging to this file
char *path; // path to socket file
// int port;
char *path; // path to socket file (UNIX-socket) or number of port (local INET)
int speed; // connection speed
int verbose; // verbose level: for messages & logging
int client; // ==1 if application runs in client mode