Re: read($sock, $buf, $n) reads nothing on port 23
| From: | Grishick | Date: | Fri, 11 May 2001 03:29:38 +0000 |
| Subject: | Re: read($sock, $buf, $n) reads nothing on port 23 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52393@lists.php.net to get a copy of this message | ||
Thanks a lot.
"Don Read" <dread@texas.net> wrote in message
news:XFMail.010510211753.dread@texas.net...
>
> On 11-May-01 Grishick wrote:
> > I'm trying to make a telnet client with php. The strange thing happens:
> > "read" does not get anything from socket if I connect to port 23
(telnet),
> > but with other ports (21, 80) it works OK.
> > Grishick.
> > grisha@kasenna.com
> >
>
> Telnet is a bit more complex than that, look for RFC854 at
> http://www.cis.ohio-state.edu/Services/rfc/rfc.html
>
> Regards,
> --
> Don Read dread@texas.net
> -- It's always darkest before the dawn. So if you are going to
> steal the neighbor's newspaper, that's the time to do it.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>