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
TNServerInstance
.
Start
(
int
tcpPort,
int
udpPort,
string
fileName, Type type, IPEndPoint remoteLobby
)
.
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 :
TNServerInstance
.
serverName
=
"My Server"
;
TNServerInstance
.
Start
(
5127
,
0
,
null
, TNServerInstance
.
Type
.
Tcp
,
Tools
.
ResolveEndPoint
(
"your.lobbyServer.com:5129"
)
)
;
To open TCP Lobby :
TNServer
.
exe
-
name
"Lobby Server"
-
tcpLobby
5129
Open cmd, cd /pathtoserver.exe then paste the code above.