Net_Socket::gets() (Previous) (Next) Net_Socket::isBlocking()

View this page in Last updated: Sun, 31 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Net_Socket::getStatus()

Net_Socket::getStatus() -- 接続に関する情報を取得する

説明

現在の接続についての情報を返します。

返り値

array - 配列形式のデータ、あるいは PEAR_Error

配列の構造は以下のとおり:

  • boolean 'timed_out' - データを待っているソケットのタイムアウト

  • boolean 'blocked' - ブロッキングモード

  • boolean 'eof' - EOF に達したかどうかを示す

  • integer 'unread_bytes' - ソケットバッファに残っているバイト数

注意

この関数は、スタティックにコールする ことはできません。

Net_Socket::gets() (Previous) (Next) Net_Socket::isBlocking()

Download Documentation Last updated: Sun, 31 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.