- Home /
Question by
YHG1989 · Feb 08, 2014 at 03:47 PM ·
androidnetworkingmobilelidgren
networking with Lidgren. doens't connect with Android client
is anybody have example works fine with android and ios?
i got my simple server(non-unity) and simple client. and they work fine in PC build,
but when in android client doesn't get to the server.
it's not definitely port-forwarding problem.
here is my code Connect();
enter code here
[CODE]
public void Connect(){
Log ("try Connection");
config = new NetPeerConfiguration(GameManager.appID);
client = new NetClient(config);
if(host != null){
client.Start();
NetOutgoingMessage initOM = client.CreateMessage("initmsg");
NetConnection connection = client.Connect(host, port, initOM);
}
}
[/CODE]
it goes to Log("try connection"); and host isn't null
but server get nothing.. it doesn't even try to connect to server-side.
do i need something to use lidgren in android??[/QUOTE]
Comment
Your answer
Follow this Question
Related Questions
Multiplayer on Android? 0 Answers
Specify Keyboard type on textfield for mobile 0 Answers
Getting a more accurate lat lng coordinate on mobile devices 0 Answers
TouchInput doesn't not exist in current content 0 Answers
[Solved]Android build black screen 0 Answers