Hello everybody, I would like to know how to send a message to all network applications(unity of course ), such as a P2P? Without a structure for client and server.
host a server first and make the peers connect to it Network.Conenct then call this rpc after connecting!! if u r already calling connect check for the errors messages!
and also add if((Network.isServer)||(Network.isClient)) before ur Rpc call in update.
I would suggest u to take a look into some basic network tutorials like this
I had to follow creating a server, but the bad part is that whenever the need for the client server IP. Would make the client scan the network looking for a server and then find the IP connection and ask him?,