- Carlos Gomes (up201906622@edu.fe.up.pt)
- José Costa (up201907216@edu.fe.up.pt)
- Pedro Silva (up201907523@edu.fe.up.pt)
- Sérgio Estevão (up201905680@edu.fe.up.pt)
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