Exemplo n.º 1
0
    OSCClient CreateOSCClient(string ip, int port)
    {
        var client = new OSCClient(System.Net.IPAddress.Parse(ip), port);

        client.Connect();
        return(client);
    }
Exemplo n.º 2
0
    public void Connect()
    {
        if (client != null)
        {
            Close();
        }

        client = new OSCClient(IPAddress.Parse(ServerIP), Port);
        client.Connect();

        localhost = new OSCClient(IPAddress.Parse("127.0.0.1"), Port);
        localhost.Connect();
    }