PEAR óÐÒÁ×ÏÞÎÏÅ ÒÕËÏ×ÏÄÓÔ×Ï
Пред.
Глава 49. óÅÔØ
След.
Net_Socket
Содержание
Net_Socket::connect()
-- connects to a server
Net_Socket::disconnect()
-- disconnects from a server
Net_Socket::eof()
-- test for end-of-file
Net_Socket::gets()
-- retrieve a string
Net_Socket::getStatus()
-- retrieve information about a connection
Net_Socket::isBlocking()
-- check for blocking mode
Net_Socket::read()
-- retrieve data
Net_Socket::readAll()
-- retrieve data until connection closes
Net_Socket::readByte()
-- read a byte
Net_Socket::readInt()
-- read an integer
Net_Socket::readIPAddress()
-- read an IP-address
Net_Socket::readLine()
-- retrieve data until line end
Net_Socket::readString()
-- read a string
Net_Socket::readWord()
-- read a word
Net_Socket::setBlocking()
-- sets blocking mode
Net_Socket::setTimeout()
-- sets timeout
Net_Socket::write()
-- write data
Net_Socket::writeLine()
-- write data including EOL
Example
-- using
Net_Socket
Net_Socket
provides a generic API for communication over TCP/IP-sockets.
Пред.
Начало
След.
Net_Portscan::getService()
Уровень выше
Net_Socket::connect()
HIVE
: All information for read only. Please respect copyright!