i've been trying to send some words seperated by spaces to a server and only the first word arrives.
The connection stuff is all fine but i have absolutely no idea whatsoever how to make it send more than one word at once.
This is what i'm talking about:
std::string foo = "i am a messager\r\n"; send(socket, foo._cstr(), foo.length(), 0); all that arrives at the server is "i"
also tried size() instead of length but that makes no difference.
I'd be really gratefull for any hint.
The hole thing runs on windows btw.