Subj : WinSock To : Digital Man From : Jon Justvig Date : Wed Jun 13 2018 19:34:16 Re: WinSock By: Digital Man to Jon Justvig on Wed Jun 13 2018 12:24 pm SOCKET current_client = (SOCKET)lpParam; // buffer to hold our recived data char buffer; // buffer to hold our sent data char sendData[20]; // for error checking int result; // our recv loop while (true) { result = recv(current_client, (char*)&buffer, 1, 0); // recv cmds Sleep(10); if (result > 0) { cout << "\n\tMessage from client: " << buffer; send(current_client, (char*)&buffer, 1, 0); } } } Right now, it works, however, on the client side it only shows one character at at time with Message from client: (character the remote end sent) ...I tried using a char array, however, it was just showing back garbage. How might I get input up to about 12 characters until the "\r" (carriage return) is received to the server from the remote client? Sincerely, Jon Justvig Stepping Stone BBS telnet://vintagebbsing.com:2325 http://vintagebbsing.com:81 --- þ Synchronet þ Stepping Stone BBS - vintagebbsing.com:2325 .