note 13377 deleted from ref.sockets by jimw

From: Date: Fri, 21 Dec 2001 00:33:45 +0000
Subject: note 13377 deleted from ref.sockets by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23639@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.

« previous php.notes (#23639) next »