sorry to post so much rubbish, but .....
i am learning socket functions, but i was beaten by the first one...............
just a simple test
<?
$fp = fsockopen ("www.php.net", 80, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br>\n";
}else echo "OK";
but:
$errstr is empty , and $errno=0
can anybody tell me why?
thanx very very much
thanx veryvery very very very much