Sending a Processing array from one computer to other computers

Hello,

I do not know what kind of network you are on.
The Google search gives you the IP it sees which can be your router and may not be your local IP and IP of server.

If you have client and server on same PC use the default 127.0.0.1 for the client to test.

  // Connect to the server's IP address and port
  c = new Client(this, "127.0.0.1", 12345); // Replace with your server's IP and port

Reference:
https://en.wikipedia.org/wiki/Localhost

Add this to your server setup() to get the actual IP of the server:

  s = new Server(this, 12345); // Start a simple server on a port
  println(Server.ip()); // Add this

And then replace 127.0.0.1 with that for testing.

Reference:
https://processing.org/reference/libraries/net/Server_ip_.html

I do not know what your network experience is but there are many ways to get your local IP address.
And this was a new way for me!

Next is client and server on different PCs on same network.

I added a second client on a PC on my network and got the same error you did until I entered the IP of the server.

:)

2 Likes