Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Publishing a session Locally

$
0
0
Is there a way of sending ip4v address on a local server? so that if someone is trying to connect they dont need to type in the server's ip address to connect, Im using BoltInit.cs. I've tried the BoltNetwork.sessionList thats used in BoltPhotonInit.cs but it wont work if youre setting up a local server, works well with photon cloud, i have no idea why.

Ive tried this but cant seem to make it work either.

void ShowServerEndpoint() {
2 UdpEndPoint serverEndPoint = BoltNetwork.server.remoteEndPoint;
3 Message.Show("Current Server", string.Format("({0}:{1}", serverEndPoint.Address, serverEndPoint.Port);
4 }

We're trying so that when people would instantiate a game and start a client, it would have a lobby and a list of session just like BoltPhotonInit.



Viewing all articles
Browse latest Browse all 15755

Trending Articles