I'm making a program with winsock, which is somewhat like a telnet server. I am making it so I can perform some commands on my other computer while downstairs on the other computer. I don't just want to download a telnet server, it's more fun to make one. Anyways, I have it accept the connection, send a greeting, and wait for data to be received. I used telnet to connect to it, received the greeting, then tried to type something but it only accepted ONE character and my server came up with the message acknowledging that I sent data to it. I am using the recv() function to receive data, why and how can I make it receive a string of text(or a line of text)? Remember, I am using Telnet to connect to this, so if telnet sends data after a I type a single character how can I ignore this or get around it?