Re: socket problems
| From: | Sascha Schumann | Date: | Fri, 28 May 1999 14:57:07 +0000 |
| Subject: | Re: socket problems | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-6159@lists.php.net to get a copy of this message | ||
On Fri, May 28, 1999 at 04:44:25PM +0200, Stig Bakken wrote:
> The socket code bugs out on me sometimes. What happens is that feof()
> returns 1, and fread() returns an empty string after the first chunk has
> been read. I use 1460 byte blocks when reading, and the data stops after
> exactly 1460 bytes, but there is more on the socket.
The size (1460) makes me wonder.
- what for a network link is between server/client? (rtt is interesting)
- what for a chunk size does the server use to write data?
- is it a real live application?
- which O/S does the client run on?
--
Regards,
Sascha Schumann
Consultant
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net