- Home /
LLAPI How to receive the HostId on the client?
Hey all,
I've read the docs here, but im a bit confused now, my question is: how to receive the HostId on the client? Cuz you need to have an hostId, ip, port etc, also found in the docs here.
I am wringing a server-client application where the server runs separately from the client.
All help is appreciated,
Zotey
Answer by iileychen · Aug 01, 2016 at 02:20 PM
You need to call AddHost() method to get the hostId even on client side. It is a confusing method name.
Your answer
Follow this Question
Related Questions
Stuck on ConnectingToNameServer 0 Answers
modernized master server script? 1 Answer
In unity3d client “push” an object with a rigidbody2d slower than the host 0 Answers
Since switching to using offline & online scenes in the NetworkManager, Clients will not sync (UNET) 0 Answers
Client disconnect due to error 0 Answers