com.onlineobject.objectnet Namespace

INetworkBehaviorInternal..::..Send Method

Sends data over the network to connected peers.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


void Send(

	int eventCode,

	DataStream writer,

	DeliveryMode mode

)

Parameters

eventCode
Type: Int32
The event code that identifies the type of data being sent.
writer
Type: com.onlineobject.objectnet..::..DataStream
The data stream containing the data to be sent.
mode
Type: com.onlineobject.objectnet..::..DeliveryMode
The delivery mode that specifies how the data should be sent. Defaults to Unreliable.