PHP Classes

Socket: TCP socket client and server

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
Not enough user ratingsTotal: 451 All time: 6,173 This week: 62Up
Version License PHP version Categories
socket 1.0.2MIT/X Consortium ...5.5Networking, PHP 5
Description 

Author

This package provides TCP socket client and server classes.

It provides a server class that can listen to TCP connections on a given port of a local IP address and responds with the current server time.

There is also a client class that sends a TCP request to a given IP address, sends a request and returns the server response.

Picture of Mostafa Abd-El-Hamid
  Performance   Level  
Name: Mostafa Abd-El-Hamid <contact>
Classes: 23 packages by
Country: Egypt Egypt
Age: 40
All time rank: 5595 in Egypt Egypt
Week rank: 214 Up2 in Egypt Egypt Up
Innovation award
Innovation award
Nominee: 5x

  Files folder image Files (2)  
File Role Description
Plain text file Socket.php Class Socket Server
Plain text file SocketClient.php Class Socket Client in PHP TCP

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:451
This week:0
All time:6,173
This week:62Up