Welcome,
Guest
. Please
login
or
register
.
March 27, 2025, 07:59:11 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
TNet 3 Support
»
How to use the BroadcastToLAN() function
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to use the BroadcastToLAN() function (Read 1892 times)
vzheng56
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 1
How to use the BroadcastToLAN() function
«
on:
March 10, 2014, 10:32:27 PM »
MyCode :
if
(
Input
.
GetKeyDown
(
KeyCode
.
C
)
)
{
Debug
.
Log
(
"CCCC"
)
;
MessageContain
=
"C"
;
tno
.
BroadcastToLAN
(
5127
,
"BroadCastMaeesge"
, MessageContain
)
;
}
[
RFC
]
void
BroadCastMaeesge
(
string
text
)
{
Debug
.
Log
(
"CCCCCC"
)
;
ScenesName
=
text
;
}
Server Start ,But it does not work! Any Demo? help me~
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: How to use the BroadcastToLAN() function
«
Reply #1 on:
March 11, 2014, 07:58:08 PM »
5127 is a TCP port. 5128 would be the UDP port, assuming your UDP is turned on.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
TNet 3 Support
»
How to use the BroadcastToLAN() function