Osc.Send C# (CSharp) Method

Send() public method

Sends a list of OSC Messages. Internally takes the OscMessage objects and serializes them into a byte[] suitable for sending to the PacketExchange.
public Send ( ArrayList oms ) : void
oms ArrayList The OSC Message to send.
return void
    public void Send(ArrayList oms)
    {
      byte[] packet = new byte[1000];
      int length = Osc.OscMessagesToPacket(oms, packet, 1000);
      OscPacketIO.SendPacket(packet, length);
    }

Same methods

Osc::Send ( OscMessage, oscMessage ) : void

Usage Example

Ejemplo n.º 1
0
        private void timer1_Tick(object sender, EventArgs e)
        {
            OscMessage oscMS = new OscMessage();

            oscMS.Address = "/analogin/7/value";
            osc.Send(oscMS);
        }
All Usage Examples Of Osc::Send