Socket programming error
<p>When I am running my program of socket I am getting an error:</p>

<blockquote>
  <p>Fatal error: Call to undefined function socket_create() in C:\wamp\www\sockert\sockert.php on line 11</p>
</blockquote>

<p>What about that error?</p>

<hr>

<p>Code:</p>

<pre><code>// set some variables
$host = "192.168.1.99";
$port = 1234;
// don't timeout!
set_time_limit(0);
// create socket
$socket = socket_create(AF_INET, SOCK_STREAM, 0) or die("Could not create socket\n");
</code></pre>

<p>I am using php5.3.0</p>
