PHP Classes

File: socketTest

Recommend this page to a friend!
  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: 13 years ago
Size: 190 bytes


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

$data = $conn->read();