Hi all, need some help about socket
functions.
I try tu use socket function.
This is my script:
if (($sock = socket(AF_INET, SOCK_STREAM, 0)) <
0) {
echo "socket() a echoué - raison : " . strerror($sock) . "\n";
}
echo "socket() a echoué - raison : " . strerror($sock) . "\n";
}
And this is the error I always get :
Fatal error: Call to undefined function: socket() in d:\myscript.php on line
175
Fatal error: Call to undefined function: socket() in d:\myscript.php on line
175
I'm using PHP with WIN NT. The error is the same
with PHP Version 4.0.5-dev
, or PHP Version 4.0.4.
I've installed PHP from binary code, not with re-compiling source.
, or PHP Version 4.0.4.
I've installed PHP from binary code, not with re-compiling source.
First question : is socket function installed on
php version for windows ?
Second : if yes, where is the problem.....
Second : if yes, where is the problem.....
Thank you for your help,
François Tissandié.
Embrassez ceux que vous
aimez
Atos-Infogérance
Tour MANHATTAN
6 Place de l'Iris
92400
Courbevoie Cedex
Tél. : 01.70.92.49.67
Fax. : 01.70.92.48.57
e-mail :
[EMAIL PROTECTED]