enable method

void enable()

Enables the socket, which will allow messages to be sent over UDP

Implementation

void enable() {
  isEnabled = true;
}