Declared in Transmitter

Declaration

bool TransmitString(
    string str,
    string key
);

Description

Attempts to transmit a string 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
strThe string to communicate across the network
keyThe key that defines the data on the network