Moved here from other category & topic (
https://www.advancedhmi.com/forum/index.php?topic=899 ) for better visibility.
Original C# project can be found here:
https://sourceforge.net/projects/serialtoip/?source=directoryIt functions as an Ethernet-to-Serial converter (and vice versa).
The attached picture shows what it looks like while bridging communication between Modbus Master using RTUoverTCP protocol and Modbus Slave Simulator using RTU protocol. A pair of virtual COM ports was used as well: COM4-COM12 (by com0com program). All of these running at the same time on the same PC.
Showing the packets should be used only for troubleshooting since it slows down the program.
Attached is the full solution.