Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: ibaanb on October 09, 2014, 03:11:51 AM

Title: Looping add server
Post by: ibaanb on October 09, 2014, 03:11:51 AM
I use this code

  1. TNServerInstance.Start (int tcpPort, int udpPort, string fileName, Type type, IPEndPoint remoteLobby).
  2.  

and I get this in server console image in attachment.

And if this problem occur because UDPLobby so how to open TCPlobby?
Title: Re: Looping add server
Post by: Alphavladim on October 09, 2014, 07:11:21 AM
See this : http://www.tasharen.com/forum/index.php?topic=11386.msg53013#msg53013 .
I had the same question. Is because you use UDP, not TCP.

To open TCP Server :
  1.         TNServerInstance.serverName = "My Server";
  2.         TNServerInstance.Start(5127, 0, null, TNServerInstance.Type.Tcp,
  3.             Tools.ResolveEndPoint("your.lobbyServer.com:5129"));

To open TCP Lobby :
  1. TNServer.exe -name "Lobby Server" -tcpLobby 5129
Open cmd, cd /pathtoserver.exe then paste the code above.