Main Menu
PHP Tools
PHP Help Request
PHP Editors Newsletter
Editor Search
Reviewed PHP Editors
Latest News
Submit News
PHP Tutorials
PHP Book Reviews
Online Book Chapters
PHP Games
Forums
PHP Desktop Editors
Other PHP Tools
PHP Contests
PHP Programming Help
Linux Help
Apache Help
MySQL Help
PHP Games
PHP Jobs
PHP Forums Home
Programming Contest
PHP Contests
PHP Contests Archive
Documentation
PHP Manual
PEAR Manual
PHP-GTK Manual
Smarty Manual
PostgreSQL Manual
CSS 2 Reference
Redhat Linux 9
HTML 4.01
Apache 2 Manual
Partner Sites
Ajax Tutorials
Webmaster Resources
Web Templates
PHP Scripts
PHP Code Examples
Learn PHP playing Trivia
PHP & MySQL Forums
Web Development Index
web site templates
Sponsors
NuSphere
Net_Socket
PEAR Manual
Prev
Chapter 48. Networking
Next
Net_Socket
Table of Contents
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.
Prev
Home
Next
Net_SMTP::vrfy()
Up
Net_Socket::connect()
© Copyright 2003-2023 www.php-editors.com. The ultimate
PHP Editor
and
PHP IDE
site.