public function writePacket($buffer, $dest, $port) { return socket_sendto($this->socket, $buffer, strlen($buffer), 0, $dest, $port); }