public function blockAddress($address, $timeout) { $buffer = chr(RakLib::PACKET_BLOCK_ADDRESS) . chr(strlen($address)) . $address . Binary::writeInt($timeout); $this->server->pushMainToThreadPacket($buffer); }
public function blockAddress($address, $timeout = 300) { $this->interface->blockAddress($address, $timeout); }