Esempio n. 1
0
    private void Awake()
    {
        _logList    = new Queue <string>();
        _connection = new UDPThreaded();
        _connection.StartConnection(sendIp, sendPort, receivePort);

        hasConnection = false;
        postRequest   = false;
    }
Esempio n. 2
0
    void Start()
    {
        string sendIp      = "127.0.0.1";
        int    sendPort    = 9200;
        int    receivePort = 10001;

        connection = new UDPThreaded();
        connection.StartConnection(sendIp, sendPort, receivePort);
    }