How to redirect
serial to UDP
What is UDP?
UDP (User Datagram Protocol) is one of the key elements of TCP/IP – a suite of network protocols for the Internet. With UDP, computer applications can send messages (datagrams) to other hosts over an IP network without the need for doing any connection setup.
Additionally to rapid transmission rates, UDP protocol offers no connectivity delay and is often used by time-sensitive applications. If it is necessary to correct errors at the network interface level, applications may use TCP or SCTP protocol instead.
UDP is not aimed at creating a connection channel. The main characteristic of UDP communication is the lack of guarantee of delivery, ordering, or duplicate protection. This means the order of messages transmitted over UDP can be changed due to the IP-network operating peculiarities and the receiving application layer is responsible for reorganizing the segments.
Such UDP features are the result of the protocol’s logic. An application which uses UDP for transporting data generates one packet that is transmitted in the IP datagram. If the datagram is duplicated on the network, the receiving node can get two copies of the datagram.
If a UDP client sends two datagrams to the same destination, their order can be changed by the network, and they will be delivered in violation of the original order.
Therefore, in UDP-based applications, developers often implement functions that compensate the unreliability of this protocol. Additional features may include timeouts, retransmission, processing of lost datagrams, and sequence numbers for matching responses to requests.
This approach allows delivering data much faster and more efficiently, which is especially useful for applications that require increased network bandwidth or short data delivery time.
Serial to UDP software
If you have several apps or devices which communicate over COM ports (RS-232, RS-422, RS-485) and would like them to exchange data via a UDP connection, a dedicated UDP redirector software is the simplest solution.
Serial to Ethernet Connector is one of the most efficient ways to send serial data via UDP. The software allows providing any system with an unlimited number of virtual serial interfaces. A virtual COM port created with the help of the software behaves exactly like a real port and mirrors all the activities of a remote physical COM port. This allows connecting a local computer to remote serial applications and equipment over any distance.
COM to UDP: usage scenarios
There are three most common purposes that users try to achieve using UDP serial port redirector software. These are sharing a local serial port for incoming connections, accessing a remote COM port over the network, and sharing a serial port over UDP protocol.
If you need to access a COM-based device (be it a controller, a laser plotter, a CNC machine, etc.) located far away from your local computer, you can do this with Serial to Ethernet Connector. The software will let you easily establish serial communication over UDP and redirect the remote device's data over the network. Connected with the help of the software, any remote equipment will be recognized by your local PC as though it were physically attached to your machine.
Thanks to the outstanding capabilities of the software, you can choose UDP/IP as a transport protocol and forward the input/output data from any local real or virtual port to a remote one and back.
How to redirect serial data over UDP
Here are the simple steps you should follow in order to redirect real or virtual COM to UDP:
- First, download Serial to Ethernet Connector. Then install the software on every computer that needs to communicate with your COM-based equipment, including a local host with the device attached and all client machines that will get remote access to the device.
- Once installed, start the Serial to UDP program on the local PC, select the “UDP connection” option and adjust necessary settings. After that, click “Create connection” to open the port with the device attached.
- On a remote machine, choose “Client” connection. Enter the server’s IP address as well as the name of the open serial port and click “Connect” to start serial communication over UDP with the required equipment.
That’s it! Now, you can access the required remote COM port device and redirect its data over the UDP protocol easily and effortlessly.
Serial to Ethernet Connector
Requirements for Linux: Kubuntu 9.10 “Karmic Koala”, openSUSE 11.2, 7.63MB free space , 4.66MB size , 4.66MB size
Version 7.1.876 (27th Jan, 2017) Release notes
Category: Serial Port Software