note 17076 added to ref.sockets

From: Date: Sat, 24 Nov 2001 20:45:00 +0000
Subject: note 17076 added to ref.sockets
Groups: php.notes 
Request: Send a blank email to php-notes+get-21248@lists.php.net to get a copy of this message
I was trying to get information from a server via a socket. The server returned the information but the last line did not end with a crlf. Because of this, the return variable did not included this last line (which I needed!!) Whatever I did, I just didn't get that last line.. until I tried the example on http://www.php.net/manual/en/function.fsockopen.php which did the work right (and finally I got my last line)! I was using php 4.0.6 -- http://www.php.net/manual/en/ref.sockets.php http://master.php.net/manage/user-notes.php?action=edit+17076 http://master.php.net/manage/user-notes.php?action=delete+17076 http://master.php.net/manage/user-notes.php?action=reject+17076

« previous php.notes (#21248) next »