Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "userver.h"
- int main(int argc, char const* argv[])
- {
- if (argc != 2)
- {
- std::cout << "Usage: " << argv[0] << " <port>" << std::endl;
- return EXIT_FAILURE;
- }
- UDPServer udpserver(std::stoi(argv[1]));
- udpserver.listenUDP();
- return EXIT_SUCCESS;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement