- Home /
Is there a way to connect a server into another one?
I am building a server architecture that is composed by a Login Server, a Master Server, various simple servers, a Synch Server and a Database. Can I initializeServer() and Connect() to another server? Is there a way I can make 2 servers comunicate to eachother and still keep their players? Because I've tried something like that and when the server tries to connect to the other server it autommatically disconnects all the clients and became a client to the other server.
$$anonymous$$aybe an example of how this plays would make it easier to figure out a solution... I'm having a tough time with a pure-unity way without using special id codes on client-id's to mimic a "signal", but I don't know for sure how to do this.
Answer by Bunny83 · Nov 07, 2013 at 08:59 AM
No, you can't. Unity's networking only allows to be either server or client. However, you can use System.Net sockets to do communication besides Unity's networking. Of course you don't have things like NAT-Punch-Through out of the box, so your servers should be "reachable", but since you have a quite big infrastructure of servers that shouldn't be a problem ;)
Your answer

Follow this Question
Related Questions
How to Start Local MasterServer-2.0? 0 Answers
Custom master server 0 Answers
External query to master server 0 Answers
What's a proper way to make a 1vs1 match making master server? 1 Answer
Master server in UNET 1 Answer