Hi, I am working on an modified version of GPs "CloudDataServer", but in some situationes I stuck. So I tried to build my own message server from the ground up as simple as posible,for better understanding - but I failed. The client can connect to the server but I have problems with the message handling.
What I tried:
Creating a "server" with only the ability to put/send data on/to it. All putten messages should be printed in the console.
And one client wich should be able to send this message to the server, the message contain the command "put" and one argument.
I don't understand the "blob" commands, so I tried to send the message only with the "put" command and one "arg" wich the user should enter.
Can someon help me with this, please?
minimal message server?
Moderator: MSandro
Re: minimal message server?
I don't see a call to "startServer" anywhere; part of the problem might be that your server isn't running.
If you put your simple server and client into a single project and post it here I can take a look.
If you put your simple server and client into a single project and post it here I can take a look.
Re: minimal message server?
Thank you, I am a bit confused with this stuff...
Here is the file:
Here is the file:
- Attachments
-
- Server-Client.gpp
- (7.41 KiB) Downloaded 879 times