Windows macOS Rocrail is a freeware software package[1] for controlling a model train layout from one or more computers.
Rocrail uses a client-server architecture that communicates via TCP/IP, and the client and server do not need to be on the same computer.
Rocrail also has an HTTP interface, which will let the layout run from a web browser.
Rocrail runs under both the Windows and Linux operating systems, using the Wxwidgets toolkit.
Rocrail was released under GPL v3, but during September 2015, its license was changed to a proprietary model.