We are trying to connect to a server made from JUCE using a socket connection and I need to pass an integer array to it. But when I checked the client code I noticed that the server is expecting the request to be of MemoryBlock type.
Here is the method on declaration on the server (void MainContentComponent::DemoInterprocessConnection::messageReceived (const MemoryBlock& message))
I have created a client socket in JAVA application which is using Jersey framework and connecting to the server made in C++ using JUCE
and I AM ABLE CONNECT TO IT SUCCESSFULLY.
I am sending an integer array to the server but the client is not receiving it as it expecting MemoryBlock type as mentioned above.
So request help on how I can send this integer array of size 3 from my JAVA code to C++ server so that it takes it in MemoryBlock type.