how do I listen on a socket without sucking up all the CPU time?
Fredrik Lundh
effbot at telia.com
Tue Oct 3 15:19:32 EDT 2000
More information about the Python-list mailing list
Tue Oct 3 15:19:32 EDT 2000
- Previous message (by thread): how do I listen on a socket without sucking up all the CPU time?
- Next message (by thread): how do I listen on a socket without sucking up all the CPU time?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Joshua Muskovitz <josh at open.com> wrote: > > This sounds like a job for the asyncore module. > > Very cool, but I'm running 1.5.2. :-( and? Python 1.5.2 (#0, May 9 2000, 14:04:03) [MSC 32 bit (Intel)] on win32 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> import asyncore >>> dir(asyncore) ['EALREADY', 'ECONNRESET', 'EINPROGRESS', 'ENOTCONN', 'EWOULDBLOCK', '__builtins__', '__doc__', '__file__', '__name__', 'close_all', 'compact_traceback', 'dispatcher', 'dispatcher_with_send', 'loop', 'os', 'poll', 'poll2', 'select', 'socket', 'socket_map', 'string', 'sys'] >>> </F>
- Previous message (by thread): how do I listen on a socket without sucking up all the CPU time?
- Next message (by thread): how do I listen on a socket without sucking up all the CPU time?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list