I look for some solution for connect serial/UART port by UDP connection to another PC. Now I use socat and have connection , but with lost packages, and slow transfer. Can I use netcat for this, maybe it will get better solution? Can I get some example for this? Thank a lot.
Asked
Active
Viewed 307 times
0
-
2You will always risk losing packets with UDP. It's the nature of the protocol. – Michael Hampton Jul 29 '21 at 14:12
-
You can use a serial interface as the layer-1 for a network stack. You need to pick a layer-2 protocol that can use a serial interface. There are various protocols (PPP, HDCL, SLIP, etc.) that you could use. – Ron Maupin Jul 29 '21 at 14:14
-
Why exactly do you need UDP? What OSes do you run? – NStorm Jul 29 '21 at 14:28
-
@NStorm i think and belive due the thinking of "speed-feature" – djdomi Jul 30 '21 at 05:34