Network Question. Sending value from iPhone Client to Mac Server

I’m a little confused by how to achieve this. What I basically want to do is send a value (for now, a simple int, but eventually a string or dictionary file) from an iPhone Client connected to a Mac Server. The iPhone is able to connect to the Mac (I was able to do the with MasterServer). However, I don’t know how to communicate between the two, since they are two separate projects. RPC’s don’t appear to work here…

Thanks again guys.

Most likely you dont have the networkview IDs set to the same value. You cannot set this parameter through the Inspector so what you have to do to make it the right way is to let one object that is well synced across the network (you could use the object that is holding your server connection) and let that allocate the next free networkview id and set that to the gameobject you want to sync. Then you can perform RPC calls between the two devices on that object.

As I have read you are able to send data between two completly different projects so dont worry. If you have got the Masterserver/Client solution to work this should be a piece of cake.

This will help you out:

http://unity3d.com/support/documentation/ScriptReference/Network.AllocateViewID.html