Re: Client/Server socket send user input

2005-10-26 Thread jas
Dennis, Thanks. That certainly looks like it could work. I understand about the interactive shell and my app going back and forth with the reads/writes. When my program runs it won't be used in an interactive python shell, but that is the only way I know of to really test it. -- http://mail

Re: Client/Server socket send user input

2005-10-25 Thread jas
I even tried inserting a "\r" or "\r\n" or "\n" to stdout, also tried the same using msvcrt.putch() ...but no luck. I still have to hit enter to get the prompt , where I can then type a command and hit enter. For example, I get this displayed: [example] Microsoft Windows XP [Version 5.1.2600] (C)

Client/Server socket send user input

2005-10-25 Thread jas
I have a basic client/server socket situation setupwhere the server accepts a connection and then waits for commands. On the client side, I create a socket, connect to the server...then I pass the socket to a class which just reads from the socket (in a thread). class Reader(Thread): def