Login   Register  
PHP Classes
elePHPant
Icontem

Class: Client and Server Socket

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Gustavo Gomes  >  Client and Server Socket  >  Download .tar.gz .zip  >  Support forum Support forum (4)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Client and Server Socket
Base name: net
Description: Implement TCP/IP client and servers
Related classes: , , , , , , ,
Version: 0.9
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 4142 users
All time rank: 564
Week users: 3 users
Week rank: 1216
Picture of Gustavo Gomes
Author: Gustavo Gomes <e-mail contact>
Packages: 3 Browse this author's classes Browse this author's classes
Country: Brazil Brazil - PHP jobs in Brazil
Age: 27
All time rank: 15111 in Brazil Brazil
Week rank: 190 Down12 in Brazil Brazil Down


  Detailed description  
This package can be use to implement generic TCP/IP clients and servers.

It can create client and server sockets for connections using TCP and UDP protocols under IPv4, IPv6 and UNIX domain.

The client class can establish connections to a given address and port, send and retrieve data.

The server class can accept connections to a given local port.

There are also classes for resolving host names, parsing URLs and establishing HTTP connections.

NOTE: This package is part of the WebMeshFramework and is not more maintained here. See more about this framework in: https://sourceforge.net/projects/webmesh/

 

  Groups  
Group folder image Networking Networking protocols, clients and servers View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Perfect (100.0%)
Good (96.4%)
-
Good (82.1%)
-
-
Sufficient (67.9%)
288
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imagedoc (1 directory)
Files folder imageexception (2 files)
Plain text file AbstractSocket.php Class common informations used in client and server socket implementations
Plain text file HttpURLConnection.php Class http url connection
Plain text file InetAddress Class address representation
Plain text file InetSocketAddress.php Class socket address representation
Plain text file ServerSocket.php Class TCP server socket representation
Plain text file Socket.php Class client socket representation
Plain text file URL.php Class url wrapper

  Files  /  Files folder image doc  
File Role Description
Files folder imageexample (2 files)

  Files  /  doc  /  Files folder image example  
File Role Description
  Plain text file serversocket_test.php Example server socket example
  Plain text file socket_test.php Example client socket and url example

  Files  /  Files folder image exception  
File Role Description
  Plain text file SocketException.php Class socket exception tjhrows when errors occur
  Plain text file UnknownHostException.php Class unknown host exception throws mainly by InetAddress methods

Download all files: net.tar.gz net.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.