Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Acquire Protobuf libraries for the target language of choice.
  2. Download the latest release of Geode and start a Geode server with the following gfsh commands:

    Code Block
    languagebash
    titlestart server
    start server --name=server --server-port=40404 --bind-address=localhost
    create region --name=SampleData --type=REPLICATE
  3. Locate Protobuf message definition artifact from the downloaded Geode release in directory  ---> add directory here.
  4. Using the Protobuf library, generate the language bindings from the message definitions downloaded in the previous step.

  5. In the target language, connect a TCP socket to the server on the local host and on port 40404. <--- correct port
  6. Write byte 110 to the socket.
  7. Write the handshake message to the socket.
  8. Read the handshake response from the socket.
  9. Write the put message to the socket.
  10. Read the put response from the socket.

...