ws echo_server has a -g option to print a greeting message on connect
This commit is contained in:
2
ws/ws.h
2
ws/ws.h
@ -24,7 +24,7 @@ namespace ix
|
||||
|
||||
int ws_ping_pong_main(const std::string& url);
|
||||
|
||||
int ws_echo_server_main(int port, const std::string& hostname);
|
||||
int ws_echo_server_main(int port, bool greetings, const std::string& hostname);
|
||||
int ws_broadcast_server_main(int port, const std::string& hostname);
|
||||
int ws_transfer_main(int port, const std::string& hostname);
|
||||
|
||||
|
Reference in New Issue
Block a user