PHP Classes

Socket: TCP socket client and server

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 446 All time: 6,191 This week: 86Up
Version License PHP version Categories
socket 1.0.2MIT/X Consortium ...5.5Networking, PHP 5


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: 39
All time rank: 5635 in Egypt Egypt
Week rank: 61 Up1 in Egypt Egypt Up
Innovation award
Innovation award
Nominee: 5x

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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,191
This week:86Up