Click or drag to resize

RelayTransportReceive Method

[This is preliminary documentation and is subject to change.]

Namespace:  MLAPI.Transports.UNET
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static NetworkEventType Receive(
	out int hostId,
	out int connectionId,
	out int channelId,
	byte[] buffer,
	int bufferSize,
	out int receivedSize,
	out byte error
)
Request Example View Source

Parameters

hostId
Type: SystemInt32
connectionId
Type: SystemInt32
channelId
Type: SystemInt32
buffer
Type: SystemByte
bufferSize
Type: SystemInt32
receivedSize
Type: SystemInt32
error
Type: SystemByte

Return Value

Type: NetworkEventType
See Also