Declared in Transmitter

Declaration

bool TransmitBytes(
    byte[] bytes,
    string key
);

Description

Attempts to transmit a byte array across the network. The data will be converted to packets in the correct order and transmitted over the network. The key is used to have an identification of the data, which can provide additional context about the information that is sent, but can be completely optional.

Parameters

NameDescription
bytesThe byte array to communicate across the network
keyThe key that defines the data on the network