Re: (Newbie) Help with sockets.



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

.



Relevant Pages

  • Re: DNS Injection Problem
    ... Do you have bind interacting with a windows Active Directory Setup ... which allows clients to update / modify DNS in bind? ... > In this server we do not allow telnet/rsh or any shell connection. ... you say that you do not allow any telnet access to this server but ...
    (Incidents)
  • Re: network programming in c
    ... there is a chess playing server. ... >> I thought that kind of server used telnet. ... > That is why the clients are sometimes called 'telnet clients', ...
    (comp.programming)
  • Re: network programming in c
    ... there is a chess playing server. ... I thought that kind of server used telnet. ... That is why the clients are sometimes called 'telnet clients', ...
    (comp.programming)
  • Re: help setting up an email client
    ... >the clients tried to authenticate. ... I apparently don't have my MX properly configured in the server.. ... >Install a telnet client and try connecting with telnet and ... I guess I'll check my config file and check for proper configuration ...
    (alt.os.linux)
  • RE: Users Cant Access Documents on Server
    ... Thanks for using the SBS newsgroup. ... As well as we know, if a workstation would not access network shares, then ... Leave the Default Gateway of the internal NIC blank of the server box. ... Clients That Require SMB Signing ...
    (microsoft.public.windows.server.sbs)