Skip to content

lars18th/rtlmux

 
 

Repository files navigation

RTL TCP Client Multiplexer / Relay

Build Status

This is a simple server to connec to an rtl_tcp server and allow multiple clients to attach to the same receiver. It relays the ID information to the clients, and allows all clients to send commands for configuration to the rtl_tcp server.

It provides status output of the server and clients on the client port + 1, at the URL /stats.json, ie. http://localhost:7879/stats.json when -l is set to 7878.

Usage

Usage takes up to 3 command line options:

  • -h host Server host to connect to
  • -p port Server port to connect to
  • -l port Listening port for clients to connect to, HTTP status port will be equal to this plus one
  • -d Connect to server only when first client arrives and exit when last disconnects
  • -r Close connection with the server and restart it when last client disconnects

Note: For standby use (for example, when running as a daemon), use both flags -d -r. When running in this way the RTL_TCP is only active (reading samples) when some client is connected. In any order case, the RTL_TCP and RTLMUX processes are in standby (idle).

Releases

No releases published

Packages

No packages published

Languages

  • C 98.9%
  • Makefile 1.1%