socat is a program to get socket output. You can install it. But you can simply use cat for this purpose.
socat
cat
gl_modem: -D output debug info -B use which USB bus, e.g. 1-2, 1-1.3 etc.