Score:0

UDP to Serial port

jp flag

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.

Michael Hampton avatar
cz flag
You will always risk losing packets with UDP. It's the nature of the protocol.
Ron Maupin avatar
us flag
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.
np flag
Why exactly do you need UDP? What OSes do you run?
djdomi avatar
za flag
@NStorm i think and belive due the thinking of "speed-feature"
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.