C# Class UnityOSC.OSCClient

Dispatches OSC messages to the specified destination address and port.
ファイルを表示 Open project: benkuper/SoftLove Class Usage Examples

Public Properties

Property Type Description
doConnect bool

Public Methods

Method Description
Close ( ) : void

Closes the client.

Connect ( ) : void

Connects the client to a given remote address and port.

OSCClient ( IPAddress address, int port, bool connect ) : System
OSCClient ( String address, String port, bool connect ) : System
Send ( OSCPacket packet ) : void

Sends an OSC packet to the defined destination and address of the client.

SendTo ( OSCPacket packet, string host, int port ) : void

Method Details

Close() public method

Closes the client.
public Close ( ) : void
return void

Connect() public method

Connects the client to a given remote address and port.
public Connect ( ) : void
return void

OSCClient() public method

public OSCClient ( IPAddress address, int port, bool connect ) : System
address System.Net.IPAddress
port int
connect bool
return System

OSCClient() public method

public OSCClient ( String address, String port, bool connect ) : System
address String
port String
connect bool
return System

Send() public method

Sends an OSC packet to the defined destination and address of the client.
public Send ( OSCPacket packet ) : void
packet OSCPacket /// A ///
return void

SendTo() public method

public SendTo ( OSCPacket packet, string host, int port ) : void
packet OSCPacket
host string
port int
return void

Property Details

doConnect public_oe property

public bool doConnect
return bool