Re: Socket Madness !!!!

From: Date: Thu, 05 Jul 2001 20:49:34 +0000
Subject: Re: Socket Madness !!!!
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-56383@lists.php.net to get a copy of this message
Justin Farnsworth wrote:
Steve Brett wrote:
does anyone know the ascii value for EOF ?
I think it is four (CTRL-D), viz: | 00 nul| 01 soh| 02 stx| 03 etx| 04 eot| 05 enq| 06 ack| 07 bel| Actually EOT is not EOF. There is no such ASCII character as EOF. It is a condition not a character. Different functions that use an EOF condition have different ways of indicating it.
There are examples at: http://www.php.net/manual/en/function.fgets.php Here is a link to PHP's feof function: http://www.php.net/manual/en/function.feof.php

« previous php.general (#56383) next »