How does one transfer the data in a String over the network to anther instance of the program

Hello

I’m writing a queue manager for a school project, and thought it would be cool if the names in the queue show up for everyone who’s running the program. I’ve tried a UDP server, but I couldn’t get that to work over my network (I’m not sure if this affects it, but my PC was on Ethernet and my laptop was on WiFi. Same network though).

Anyone know of a good way to do this? Thanks in advance!

Here is a link to my code: Link

1 Like

Hello,

I am aware of these resources:
https://processing.org/tutorials/network/
https://processing.org/reference/libraries/net/

And there are examples that come with Processing:
image

There is also UDP and Websockets in the libraries with Processing:

2 Likes

Thanks! I’ll look into those and see how it goes

There is also:
https://processing.org/reference/loadStrings_.html

And a discussion of getting data from the web here:
https://processing.org/tutorials/data/

Have fun!

:slight_smile:

1 Like

Thanks so much! Indeed, I shall have fun!

1 Like