note 46852 rejected from ref.sockets by cece
| From: | cece@php.net | Date: | Mon, 25 Oct 2004 22:33:37 +0000 |
| Subject: | note 46852 rejected from ref.sockets by cece | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-79096@lists.php.net to get a copy of this message | ||
Note Submitter: andy33 at gmail dot com
----
I have a problem:
When I try to execute the following line (first line in coding)
$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
I get the error
socket_create() expects parameter 3 to be long, string given in <b>W:\sock.php</b> on
line </b>3</b><br />
Can anyone help me? I had to download a dll and put it in the php.ini file and then put it in an
exact path (C:\php4) to make socket_create() work at all and so i'm getting fairly frustrated