PHP Classes

File: socketTest

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of akash  >  PHP sockets  >  socketTest  >  Download  
File: socketTest
Role: Example script
Content type: text/plain
Description: expample file
Class: PHP sockets
Access remote servers using TCP sockets
Author: By
Last change:
Date: 5 years ago
Size: 190 bytes


Class file image Download
= '';
$port = 9000;
$ip = gethostbyname($server);
$conn = new PhpSocket($server, $port, '\final\\');

$data = $conn->read();