Skip to content

Instantly share code, notes, and snippets.

@Tabrizian
Created August 7, 2016 13:36
Show Gist options
  • Save Tabrizian/3554761a30fc68781c9a5819e041eeae to your computer and use it in GitHub Desktop.
Save Tabrizian/3554761a30fc68781c9a5819e041eeae to your computer and use it in GitHub Desktop.
Convert serial port to tcp using socat
socat -d -d tcp-l:54323,reuseaddr,fork file:/dev/ttyUSB0,nonblock,waitlock=/var/run/ttyUSB0.lock
@mmsamiei
Copy link

Iman , what is this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment