This is what I have:
When the user types something it is supposed to echo it back to them. But It only lets them type one character. It then has that character as the first character of the string and then adds about 7-10 other symbols to the end of that string.
sprintf(ClientOutput,"Please type something: ");
recv(SOCKET1,ClientInput,1000,2); // Get stuff by the client
cout << ClientInput; // Output it to the server
send(SOCKET1,ClientInput,strlen(ClientInput),0); // Output it back to the client
Im using Borland C++Builder v3 (Old I know) and Windows 98.