Problems With socket Under NT & PythonWin 2.0

Darrell news at dorb.com
Sun Dec 10 14:24:59 EST 2000


Copy the example to a .py file and run it from the command line or just
double click it.
The example blocks on conn.recv(1024), meaning that you current thread will
stop responding.

Of interest might be select or timeout socket.
Timeout socket is something you would need to download.


--Darrell

<swanky_mode at my-deja.com> wrote:
> Greetings;
>
> I'm trying to learn a bit more about Python programming under Windows
> NT, and came across a problem with the Socket EchoServer.py example in
> section 7.2.2 inside the Python reference pages.
>
> As soon as I run EchoServer inside the PythonWin IDE with Python 2.0,
> the entire IDE "hangs"; e.g., the mouse pointer icon is set to an hour
> glass, and there is no change in its settings, as well as not being
> able to click on any of the toolbar buttons.  The only way I can stop
> the application is by closing PythonWin from the NT Task Manager.
>






More information about the Python-list mailing list