Subj : WinSock To : Digital Man From : Jon Justvig Date : Tue Jun 12 2018 04:34 pm Re: WinSock By: Digital Man to Jon Justvig on Tue Jun 12 2018 11:32 am >> Okay, I figured out send() just fine. I'm having major issues with >> recv(). Right now, I can only get it to input one character, even with >> char arrays or strings. Here's a sample: char buffer[20]; >> int result; >> // our recv loop >> while (true) >> { >> result = recv(current_client, buffer, sizeof(buffer), 0); // recv cmds >> Sleep(10); >> if (result > 0) >> { >> cout << "\n\tMessage from client: " << buffer; >> send(current_client, (const char*)buffer, sizeof(buffer), 0); >> } just above int result; ... Sincerely, Jon Justvig Stepping Stone BBS telnet://vintagebbsing.com:2325 http://vintagebbsing.com:81 --- þ Synchronet þ Stepping Stone BBS - vintagebbsing.com:2325 .