- Carlos Gomes ([email protected])
- José Costa ([email protected])
- Pedro Silva ([email protected])
- Sérgio Estevão ([email protected])
Having rust and zmqlib installed, and inside the src directory, the steps to compile and run the applications are as follows:
-
For the server application:
cargo run --bin client <IP> <SERVER_IP> <SERVER_PORT>
-
For the server application:
cargo run --bin server <IP> <BIND_PORT>
- SUB <TOPIC>
- UNSUB <TOPIC>
- PUT <TOPIC> <PAYLOAD>
- GET <TOPIC>
Where:
- <TOPIC> is any string
- <PAYLOAD> is any string