note 13377 added to ref.sockets.php

From: Date: Wed, 13 Jun 2001 18:42:56 +0000
Subject: note 13377 added to ref.sockets.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-14390@lists.php.net to get a copy of this message
I've discovered why the server wasn't working. It is actually kind of querky. The ip and port to listen on are read in by a config file reader, and even though the values are trimed, the port wasn't being typcasted to int by bind the way it would in many other functions. By adding an explicit typecast to int in the bind call, everything worked fine. http://www.php.net/manual/en/ref.sockets.php

« previous php.notes (#14390) next »