Server2Server Problem

Options
liuhanxu
edited September 2013 in Photon Server
I learn the photon server 2 server in recent days,I have a confusion question about it.
I have a project (like LoadBalancing) , a SubServer and a MasterServer,it worked.But Now,I want to create a new Server which can connect to SubServer.How should I do,Help me!
PS:I am Chinese,my english is pool, i am not sure you can understander,but I really need your help.Thank you

Comments

  • chvetsov
    Options
    you should do this same way as SubServer does. SubServer calls ConnectToServerTcp with address of MasterServer and name of server 'Master'. Your new server will call ConnectToServerTcp with address of SubServer and name "SubServer" (change 'SubServer' to correct name)