tio/src
Martin Lund 17e96d70bc Add support for IPv4 and IPv6 network sockets
Add support for IPv4 and IPv6 network sockets via socket syntax
"inet:<port>" and "inet6:<port>" respectively.

For example, to listen and redirect serial device I/O to a host bound
IPv4 socket simply do:

 $ tio /dev/ttyUSB0 --socket inet:4444

To connect do e.g.:

 $ nc 127.0.0.1 4444

Likewise, for IPv6 do:

 $ tio /dev/ttyUSB0 --socket inet6:4444

To connect do e.g.:

 $ nc ::1 4444

If port is 0 or no port is provided default port 3333 is used.
2022-06-11 14:19:29 +02:00
..
bash-completion Rework color option 2022-06-08 16:19:47 +02:00
configfile.c Rework color option 2022-06-08 16:19:47 +02:00
configfile.h Add support for external control via a Unix domain socket. 2022-04-18 14:06:33 -07:00
error.c Redirect error messages to stderr 2022-05-24 13:35:27 +02:00
error.h Update headers 2022-03-11 15:15:39 +01:00
iossiospeed.c Update headers 2022-03-11 15:15:39 +01:00
log.c Append to existing log file (no truncation) 2022-05-07 16:02:41 +02:00
log.h Update headers 2022-03-11 15:15:39 +01:00
main.c Rework color option 2022-06-08 16:19:47 +02:00
meson.build Add support for external control via a Unix domain socket. 2022-04-18 14:06:33 -07:00
misc.c Update headers 2022-03-11 15:15:39 +01:00
misc.h Update headers 2022-03-11 15:15:39 +01:00
options.c Rework color option 2022-06-08 16:19:47 +02:00
options.h Remove newline option in hex mode 2022-06-06 19:38:31 +02:00
print.c Rework color option 2022-06-08 16:19:47 +02:00
print.h Rework color option 2022-06-08 16:19:47 +02:00
setspeed2.c Update headers 2022-03-11 15:15:39 +01:00
signals.c Handle SIGHUP 2022-03-18 19:19:11 +01:00
signals.h Handle SIGHUP 2022-03-18 19:19:11 +01:00
socket.c Add support for IPv4 and IPv6 network sockets 2022-06-11 14:19:29 +02:00
socket.h Add support for external control via a Unix domain socket. 2022-04-18 14:06:33 -07:00
tty.c Remove debug 2022-06-07 10:01:26 +02:00
tty.h Update headers 2022-03-11 15:15:39 +01:00