Hey guys, I’m having issues with jit.net.send and .recv.
What I want to do is to use jit.net.send to ‘broadcast’ the jit matrix to all ip addresses on a LAN. So my LAN is setup as 192.168.1.X and I am entering 192.168.1.255 as the ‘send to’ IP address in jit.net.send – problem is that the jit.net.recv will not receive on its IP address. Does the boadcast IP of x.x.x.255 scheme just not work with jitter?
jit.net.send is TCP based and does not support multicast. You will
need to manually initiate all connections. There are some ideas we
have for facilitating this with client initiated TCP streams like
would happen from a web browser, but for now you’ll need to deal with
this management in your patcher logic (could use js to make a socket
Yes. There is no multicast support. You can use jit.broadcast to
multicast a compressed stream, but for the uncompressed jit.net.*
objects, we want to support reliable delivery (not possible with UDP
without building TCP like functionality on top of UDP).