Comunitatea PHP Romania
 

 
Net_Socket

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.

Ultimele discutii in forum RSS Forum

Ultimele articole Ultimele articole

Top membri

Pirahna Pirahna
la birou
carco carco
Bucuresti
Birkoff Birkoff
Bucuresti
mihaitha mihaitha
Sibiu
Mascka Mascka
Braila
gabysolomon gabysolomon
Bacau
whooper whooper
Toronto ON
raul_ raul_
dechim dechim
Drobeta Turnu Severin
Amenthes Amenthes

Newsletter


Email:
 inscriere
 renuntare
 
 Arhiva newsletter

Parteneriat

Copyright © 2001-2008 PHP Romania Add PHPRomania to Google Add PHPRomania to Del.icio.us Add PHPRomania to Stumbleupon Add PHPRomania to Yahoo! Add PHPRomania to Digg Add PHPRomania to Blink Mortgages | Debt Consolidation | Loans | Hydroponic Gardening | Mercedes Benz
Ads: Partener Way2Web Nework: gazduire web | inregistrare domenii | web design | imobiliare | web hosting
Powered by Simplis