reading newline line from socket

From: Date: Sun, 10 Dec 2000 04:23:16 +0000
Subject: reading newline line from socket
Groups: php.dev 
Request: Send a blank email to php-dev+get-40727@lists.php.net to get a copy of this message
Okei I'm gone through all faqs, used search engines, search through this mailinglist archive and still didn't find answer to my problem. I don't paste code here since I believe most of you know what I'm talking about. I have this one server which uses UDP protocol, and I'll send for it one newline terminated string as command. It replies with one string BUT this string has newlines in it. Now I'm asking is it possible to read this string with PHP? I have done this with PERL. I was hoping to do it with PHP also but now I'm not sure is it possible. - Timo Snellman

« previous php.dev (#40727) next »