socat
command’s usage is pretty straight-forward:address
parameters are the «endpoints» we talked about earlier.)-u
option to the socat
command.echo The meaning of life is 42
, and write it to STDOUT
. Pretty simple right?reuseaddr
is just a handy option that allows for reusing a port number that was already used by socat before but is not fully closed yet.)192.168.0
or 192.168.1
as network prefix, so you’ll generally have to look for a line starting with inet 192.168.
; in this example, my IP address is 192.168.1.97
.192.168.1.97:5778
, write it to STDOUT
, and pipe the result to a file.-r
option will display the current download bitrate in real time.)