hub4com: The Serial Port Hub That Ships With com0com
com0com makes virtual port pairs. hub4com — the “HUB for communications” — moves data between those ports, real ports and the network: split one device to many applications, join ports together, bridge serial to TCP, and serve RFC 2217.
What hub4com is
hub4com is a free Windows application from the same SourceForge project and the same author (Vyacheslav Frolov) as the com0com driver, under the same GPLv2 open-source terms. Its own ReadMe defines it in one sentence: it “allows to receive data and signals from one port, modify and send it to a number of ports and vice versa.” It is not a driver and creates no ports itself — com0com manufactures the virtual ports, hub4com routes data between them, real serial ports and TCP connections.
Stated plainly: the current release, version 2.1.0.0 (18 June 2012), is also the final one. The tool has been unchanged for over a decade — a console program you configure on the command line, documented by its ReadMe and its examples folder rather than by a graphical interface. That is a limitation and, for scripted setups, a virtue: every configuration is a command line you can read, save and reuse.
Download hub4com 2.1.0.0
📄 hub4com-2.1.0.0.zip — 243,464 bytes, from the official SourceForge project
SHA-256: 68e2e9faa92a5b38a6b6df1de51545fa71153406312a2930bbec5348d480a775
Verify the checksum after downloading (PowerShell: Get-FileHash .\hub4com-2.1.0.0.zip) before you run anything. The package contains hub4com.exe, its ReadMe and the examples folder with the wrapper scripts.
What hub4com does that com0com alone doesn’t
Split one port to many apps
A COM port normally admits one application. hub4com opens the real port once and fans its data out to the inner ends of several com0com pairs, so a GPS receiver, a data logger or a sensor can serve every program that wants it — the ReadMe’s own example is several applications sharing one GPS device.
Join and route between ports
Routing decides who hears whom — every port to every port, or a deliberate one-way fan-out — and filters can modify the stream in flight: mapping modem pins, handling telnet, tracing traffic. That is hub4com’s “modify” step, and it is what the long example command lines are built from.
Bridge COM ports and TCP
With its TCP support, hub4com bridges serial ports and network connections in both directions — a serial application reaching a network host, or a local device published to the network — and can even multiplex several ports over a single link.
RFC 2217, via the bundled wrapper
RFC 2217 (Telnet Com Port Control) carries baud rate, parity and modem signals over the network so a remote port behaves like a local one. hub4com implemented it in v2.0.0.0, and the package’s com2tcp-rfc2217.bat wrapper exposes it as a ready-made server and client.
Where com2tcp went
Older guides point at com2tcp, the project’s COM-to-TCP redirector. Its standalone releases ended at 1.3.0.0 in 2007 because hub4com absorbed it: hub4com 2.0.0.0 “implemented all com2tcp functionality”, and the com2tcp.bat in the examples folder is a wrapper to hub4com.exe that, in the ReadMe’s words, “supports all com2tcp’s options.” Downloading a vintage standalone com2tcp today gets you the fossil; the wrapper in this package is the maintained form.
Recipes: put the hub to work
hub4com Guide: the complete beginner walkthrough
Ports, routing and filters explained from the official ReadMe, the project’s own four-step test, and how to read the examples folder like a manual.
Share one GPS receiver between multiple apps
The ReadMe’s GPS hub recipe, step by step: one physical port, two virtual pairs, chart software and logger reading the same NMEA stream at once.
com2tcp guide: COM port to TCP, the supported way
What com2tcp was, why its standalone life ended in 2007, and how to run the redirector today through its hub4com wrapper — client mode and server mode included.
RFC 2217 server and client with hub4com
Publish a real port on TCP 7000 with one command, then consume it on another PC as an ordinary virtual COM port — plus the firewall and security notes that matter.
Split one serial port between several applications
Why a COM port is exclusive, how the hub pattern breaks the rule safely, when read-only sharing is enough, and when a dedicated splitter is the easier path.
Before you start
hub4com needs virtual ports to work with, and those come from the com0com driver — including its Windows 11 signing realities (the driver is test-signed; the signed package is legacy cross-signed and does not load on every machine). If the driver side is not settled yet, start with the installation guide and the troubleshooting hub, then come back here for the routing.
New to the hub itself? The complete hub4com guide runs the project’s own four-step test first — a safe way to prove your setup before a real device is involved.
