Tasharen Entertainment Forum
Support => TNet 3 Support => Topic started by: nah0y on May 26, 2014, 10:42:24 AM
-
Hello,
Can you tell me what's the difference between these two?
Thx.
-
tno.Send goes to the channel or target player.
tno.BroadcastToLAN goes via UDP to everyone who's listening to the specified port, whether they are connected or not. Think server discovery.
-
OK so :
- tno.SendBroadcast for server discovery.
- tno.Send(Target.Broadcast) for RFC call when not on same channel
- tno.Send(Target.X) otherwise
Right?
-
Yup. Target.Broadcast is for things like server-wide chat.