well, yeah it sends a message stating something like "Welcome to the server." But I want to be able to send the server a message from client or vice versa, such as "Welcome to the Server", and use it in an if statement, such as if(Buffer == "Welcome to the Server") cout << something;. That's what I can't figure out how to do, it just doesn't work.