Hi,
I successfully connect to dll with:
<?php
$host = "22.222.2.22";
$port = 1234;
$fp = fsockopen ($host, $port, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br>\n";
}
else {
fputs ($fp, "hi");
$sometest = "";
while ($sometest <> "END") {
$sometest = fgets ($fp,1024);
echo $sometest;
}
fclose ($fp);
}
?>
Winsock 'understand' it and send respond + send END after answer string ... Why this PHP doesn't stop then ... it wait until time limit and show error message!?
Thanks,
Ljuba