<?php include_once("class.ClientSocket.php"); try { $sc = new ClientSocket(); $sc->open("www.copetel.com.ar",80); $sc->send("GET /\r\n"); echo $sc->recv(); }catch (Exception $e){ echo $e->getMessage(); } ?>
info at phpclasses dot org