OSCClient CreateOSCClient(string ip, int port) { var client = new OSCClient(System.Net.IPAddress.Parse(ip), port); client.Connect(); return(client); }
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(); }