PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 59%Total: 5,342 All time: 482 This week: 80Up
Version License PHP version Categories
net 0.9GNU General Publi...5.0Networking, PHP 5
Description 

Author

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/

Picture of Gustavo Gomes
Name: Gustavo Gomes <contact>
Classes: 3 packages by
Country: Brazil Brazil

 

  Files folder image Files (11)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:5,342
This week:0
All time:482
This week:80Up
User Ratings User Comments (2)
 All time
Utility:87%StarStarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1268