Version: 5.3
public static Networking.NetworkEventType ReceiveFromHost (int hostId, out int connectionId, out int channelId, byte[] buffer, int bufferSize, out int receivedSize, out byte error);

파라미터

hostId Id of udp socket used to check for event.
connectionId Connection id for event.
channelId Channel id for data event.
buffer Prepared incoming buffer.
bufferSize Prepared buffer size.
receivedSize Actually received length.
error Possible error.

설명

Similar to Receive() but will ask only provided host. It for example allows to mix server/client in the same game.