- Acquire Protobuf libraries for the target language of choice.
Download the latest release of Geode and start a Geode server with the following gfsh commands:
start serverstart server --name=server --server-port=40404 --bind-address=localhost create region --name=SampleData --type=REPLICATE
- Locate Protobuf message definition artifact from the downloaded Geode release in directory ---> add directory here.
Using the Protobuf library, generate the language bindings from the message definitions downloaded in the previous step.
- In the target language, connect a TCP socket to the server on the local host and on port 40404. <--- correct port
- Write byte 110 to the socket.
- Write the handshake message to the socket.
- Read the handshake response from the socket.
- Write the put message to the socket.
- Read the put response from the socket.