Hello!
I am a java programmer who is learning C++. I am working on a project that requires a JAVA server I have written to interact with a C++ client I am currently writting. I am having difficulties writing out on the socket, specifically I try and send a char* array over the socket with whitespaces but the socket seems to only send up to the first white space. Can you help me send a message over the socket?
<code>send(sock ,"Does this work?", 15, 0);</code>
This results in "Does" on the server side. Thanks for the help!
I am a java programmer who is learning C++. I am working on a project that requires a JAVA server I have written to interact with a C++ client I am currently writting. I am having difficulties writing out on the socket, specifically I try and send a char* array over the socket with whitespaces but the socket seems to only send up to the first white space. Can you help me send a message over the socket?
<code>send(sock ,"Does this work?", 15, 0);</code>
This results in "Does" on the server side. Thanks for the help!