diff --git a/README.md b/README.md index 07f332e..af5414c 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,9 @@ 1. run local server within network 2. run client on different computers within network + +# Brainstorm +Client should connect to websocket server. On connect, client receives a cache of most recent messages. + +On sending message, it is broadcasted to all connected clients, including sender. + diff --git a/client/src/Main.cpp b/client/src/Main.cpp index 9a04faf..7f5283a 100644 --- a/client/src/Main.cpp +++ b/client/src/Main.cpp @@ -3,15 +3,10 @@ int main() { - std::cout << "Hello World!" << std::endl; - - // ask for name of person std::cout << "Please enter your first name: "; char *name = new char[100]; std::cin >> name; - std::string welcome_message = "Welcome, " + std::string(name) + "!"; - std::cout << std::endl << BOLDGREEN << welcome_message << RESET << std::endl; return 0;