src/DatingVIP/IRC/Connection.php
protected function recv() {
		if (($line = fgets($this->handle)) && 
			($line = trim($line))) {
			if ($this->logger) {
				$this->logger
					->onReceive($line);
			}
			
			return $line;
		}
		
		throw new \RuntimeException(
			"failed to receive data from {$this->server}");
	}
protected function recv() {
		if (($line = fgets($this->handle)) && 
			($line = trim($line))) {
			if ($this->logger) {
				$this->logger
					->onReceive($line);
			}
			
			return $line;
		}
		
		throw new \RuntimeException(
			"failed to receive data from {$this->server}");
	}
protected function recv ( ) { if ( ( $ line = fgets ( $ this -> handle ) ) && ( $ line = trim ( $ line ) ) ) { if ( $ this -> logger ) { $ this -> logger -> onReceive ( $ line ) ; } return $ line ; } throw new \ RuntimeException ( "failed to receive data from {$this->server}" ) ; }
Recv response from server
@return string
@throws \RuntimeException
@access synchronized
Recv response from server