Re: (Newbie) Help with sockets.
- From: "Gabriel Genellina" <gagsl-py2@xxxxxxxxxxxx>
- Date: Fri, 29 Feb 2008 01:43:37 -0200
En Fri, 29 Feb 2008 00:20:26 -0200, <mentaltruckdriver@xxxxxxxxx> escribió:
Hi everyone. I'm fairly new to Python, and even more new to socket
programming. I think I've wrapped my head around sockets, and with
that I want to create a Telnet-based chat server, the idea being
people connect to the telnet servers with their clients and they all
communicate. I've got the code working, but the server sends each
letter to the clients on a new line! I've read about this kind of
thing on Windows on Google, but I can't find a solution to this issue.
The telnet client can use "line mode" or "character mode". In "line mode" nothing is sent until the user press Enter; line editing is made on the client side. In "character mode" keystrokes are sent as soon as typed; probably your telnet client is using this mode.
--
Gabriel Genellina
.
- Follow-Ups:
- Re: (Newbie) Help with sockets.
- From: Grant Edwards
- Re: (Newbie) Help with sockets.
- References:
- (Newbie) Help with sockets.
- From: mentaltruckdriver
- (Newbie) Help with sockets.
- Prev by Date: Re: Problems Generating HTML With pydoc
- Next by Date: Re: Windows gzip problem
- Previous by thread: Re: (Newbie) Help with sockets.
- Next by thread: Re: (Newbie) Help with sockets.
- Index(es):
Relevant Pages
|