Login   Register  
PHP Classes

Client and Server Socket: Implement TCP/IP client and servers

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Gustavo Gomes
Name: Gustavo Gomes <contact>
Classes: 3 packages by
Country: Brazil Brazil
Age: 30
All time rank: 15411 in Brazil Brazil
Week rank: 306 Down25 in Brazil Brazil Down

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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/

  Classes of Gustavo Gomes  >  Client and Server Socket  >  Download Download .zip .tar.gz  >  Support forum Support forum (5)  >  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
Version: 0.9
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 4893 users
All time rank: 508
Week users: 5 users
Week rank: 313 Up
  Groups   Rate classes User ratings   Applications   Files Files  

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

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (96%) Good (93%) - Good (81%) - - Sufficient (65%) 439
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
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 folder image Files  /  doc  
File Role Description
Files folder imageexample (2 files)

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

  Files folder image Files  /  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

Install with Composer Install with Composer - Download 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.