A simple asynchronous server & synchronous client pair
Uses boost::asio for networking.
Server displays the current LED state.
- on | turns the LED on
- off | turns the LED off
- state? | current LED state
- color <red|green|blue> | set led color
- color? | current LED color
- rate 1..5 | sets LED rate in 0..5 interval
- rate? | returns the current LED rate
make server
./server 1234
make client
./client 127.0.0.1 1234