Network: Send an arbitrary chunk of binary data on demand

I’m familiar with the Network and NetworkView classes. I forsee a need to send an arbitrary chunk of binary data to clients on the network, at a time of my choosing. It doesn’t look like the RPC calls can send an array of ints over the network, from my testing. I’ve tried experiments with object[ ] arrays, since that is the underlying type of the RPC call. I’ve also tried messing with strings to carry data, but no dice.

Now I’m in the weeds trying to use networkView synchronization to somehow accomplish this, but before I go further I’m going to seek help.

Any ideas? A respectable game engine with network support should allow this.

The supported types of data that RPC can send are mentioned in the manual. If you need to send other types of data, then you need to look at other solutions.