You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.
How to receive data from the network through the UDP protocol. Particular port number 58000. could you help me
function ReceivedFromNetwork (idBinding, nPort, strData)
print("ReceivedFromNetwork",idBinding,nPort,strData)
g_Receivebuffer = g_Receivebuffer .. strData
end
function OnNetworkBindingChanged (idBinding, bIsBound)
if (idBinding == 6001) then
NetworkBound = bIsBound
end
if (NetworkBound == true) then
C4:NetConnect (6001,58000,'UDP')
end
print (bIsBound)
end
function OnConnectionStatusChanged (idBinding, nPort, strStatus)
print("OnConnectionStatusChanged ",strStatus)
end
print (strStatus)
end
function go ()
end
The text was updated successfully, but these errors were encountered: