public function send($data)
  {
    $this->connect();

    @stream_socket_sendto($this->stream, $data);

    \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Helper\Signal::getInstance()->emit(strtolower($this->getAdapterType()) . "DataSend", $data);
  }
public function send($data)
  {
    $this->connect();

    @stream_socket_sendto($this->stream, $data);

    \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Helper\Signal::getInstance()->emit(strtolower($this->getAdapterType()) . "DataSend", $data);
  }
public function send ( $ data ) { $ this -> connect ( ) ; @ stream_socket_sendto ( $ this -> stream , $ data ) ; \ ManiaLivePlugins \ Standard \ TeamSpeak \ TeamSpeak3 \ Helper \ Signal :: getInstance ( ) -> emit ( strtolower ( $ this -> getAdapterType ( ) ) . "DataSend" , $ data ) ; }
Writes data to the stream.

@param  string $data
@return void
Writes data to the stream .