Skip to content

lucapinelli/tcp_to_zero_broadcast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tcp-to-zero-broadcast

Scope of the application

The application receives TCP messages and it broadcasts them using ZeroMQ. As convention, to terminate a message the byte 7 must be used (therefore the messages cannot contains this byte).

Configuration

The default configuration is the following:

  • the TCP server endpont is 127.0.0.1:1974
  • the message termination byte is 7
  • the ZeroMQ publischer endpoint is tcp://*:2007
  • the ZeroMQ publischer topic used to send the messages is parrot

To customize the configuration add the file config/local.toml (you can use the file config/default.toml as template).

Logs

The application use the env_logger crate to handle the logs.

To set the log level during the development to debug run:

RUST_LOG=debug cargo run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages