close() 공개 메소드

Close the connection
public close ( ) : void
리턴 void
예제 #1
0
 /**
  * Close the process
  * @return void
  */
 public function close()
 {
     parent::close();
     $this->closeWrite();
     if (is_resource($this->pd)) {
         proc_close($this->pd);
     }
 }
예제 #2
0
파일: Connection.php 프로젝트: zenus/phpinx
 /**
  * Close the connection
  * @return void
  */
 public function close()
 {
     parent::close();
     if (is_resource($this->fd)) {
         socket_close($this->fd);
     }
 }