AW: Net_Server interface (bug?)

From: Date: Mon, 10 Nov 2003 20:58:02 +0000
Subject: AW: Net_Server interface (bug?)
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-23400@lists.php.net to get a copy of this message
Hi, > Net_Server::readFromSocket() seems to fail when the received > string does not have any terminator char (like "\n"). There has to be a character that can be used to mark the end of the data, otherwise you'll end up in an infinite loop :-( There's no way to determine when socket_read() has read the whole data... It's possible to change this character in Net_Server's $readEndCharacter property. If anybody found a way to determine the end of the transmission, that would be great. Stephan --- Stephan Schmidt schst@php-tools.net http://www.php-tools.net

« previous php.pear.dev (#23400) next »