In order to successfully run the project, you type
make server
then type
make client
then, on one terminal, type
./start_server
and on another type
./start_client
This is how to start the code. Within the client program, by typing help
, a list of commands will appear and you will be able to publish, list topics, and subscribe to the main server. Enjoy!
-
The server only works on the LAN(127.0.0.1), so if there are not enough outgoing sockets, there will usually be issues with multiple clients connecting at once.
-
There are most likely others but, to be honest, I ran out of time and this was my best effort.
Test