79099997

Date: 2024-10-17 22:22:50
Score: 1.5
Natty:
Report link

The best solution for my case was to work with UDP:

udpClient = new UdpClient();
endPoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 99999); 
byte[] data = Encoding.UTF8.GetBytes(dataToSend);
udpClient.Send(data, data.Length, endPoint);
Debug.Log("Sent data to JavaScript server: " + dataToSend);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rick James