D wrote:
> Sorry for the many messages, but I've been looking into it further -
> since I have the server services listening and waiting for incoming
> connections, how would I interrupt it to let the program know that a
> stop request has been issued? For example, if I put the stop check
> before
Sorry for the many messages, but I've been looking into it further -
since I have the server services listening and waiting for incoming
connections, how would I interrupt it to let the program know that a
stop request has been issued? For example, if I put the stop check
before it listens, I woul
I must be missing something..in my SvcDoRun function, first line is
"self.timeout=1" , followed by my "while 1:" loop which listens for
the connection, processes the data, etc. Where should I place the
"rc=win32event.." and "if rc" lines? I have a feeling I'm pretty close
here.. :) Thanks ve
Thanks guys. Larry - I inserted the rc lines right after I do the
listen() and the service is not functioning properly (service is
terminating). Where am I going wrong here?
Doug
--
http://mail.python.org/mailman/listinfo/python-list
D wrote:
> I have a simple file server utility that I wish to configure as a
> Windows service - using the examples of the Python Win32 book, I
> configured a class for the service, along with the main class functions
> __init__, SvcStop, and SvcDoRun (which contains my server code). After
> regis
On Wed, 2006-03-01 at 12:41 -0800, D wrote:
> I have a simple file server utility that I wish to configure as a
> Windows service - using the examples of the Python Win32 book, I
> configured a class for the service, along with the main class functions
> __init__, SvcStop, and SvcDoRun (which conta