Re: One more socket programming question

2008-06-18 Thread John Salerno
"Tim Roberts" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > John Salerno <[EMAIL PROTECTED]> wrote: >> >>I'm now experimenting with the SocketServer class. Originally I >>subclassed the StreamRequestHandler to make my own custom handler, but a >>result of this seems to be that the

Re: One more socket programming question

2008-06-18 Thread Tim Roberts
John Salerno <[EMAIL PROTECTED]> wrote: > >I'm now experimenting with the SocketServer class. Originally I >subclassed the StreamRequestHandler to make my own custom handler, but a >result of this seems to be that the client socket closes after it has >been used, instead of staying open. Right.

One more socket programming question

2008-06-17 Thread John Salerno
I'm now experimenting with the SocketServer class. Originally I subclassed the StreamRequestHandler to make my own custom handler, but a result of this seems to be that the client socket closes after it has been used, instead of staying open. Just as a test, I decided to use BaseRequestHandler

Re: socket programming question

2006-06-20 Thread Grant Edwards
On 2006-06-20, Kiran <[EMAIL PROTECTED]> wrote: > is it possible to make python do some other processing while > it is waiting for a socket to timeout? Yes. You can either use threads or select. Or you can use one of the async server frameworks like twisted. -- Grant Edwards

Re: socket programming question

2006-06-20 Thread Irmen de Jong
Kiran wrote: > Hello All, > My question is, is it possible to make python do some other > processing while it is waiting for a socket to timeout? sure, you have to use threads and/or use asynchronous socket programming. Google is your friend. --Irmen -- http://mail.python.org/mailman/listinfo

socket programming question

2006-06-20 Thread Kiran
Hello All, My question is, is it possible to make python do some other processing while it is waiting for a socket to timeout? thanks a lot! Kiran -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket Programming - Question

2006-02-10 Thread Grant Edwards
On 2006-02-11, D <[EMAIL PROTECTED]> wrote: > I've used os.popen() before, but if I execute it on a remote > system how could I get the output back to the requesting > machine? Write it to the socket? -- Grant Edwards grante Yow! Where does it go when

Re: Socket Programming - Question

2006-02-10 Thread Paul Rubin
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > I am relatively new to Python, and wanted to see if this is even > possible, and if so how to go about implementing it. What I'm looking > to do is create a client/server application that does the following: > > 1) System2 listens on port > 1023

Re: Socket Programming - Question

2006-02-10 Thread D
I've used os.popen() before, but if I execute it on a remote system how could I get the output back to the requesting machine? -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket Programming - Question

2006-02-10 Thread D
Thanks! Now, I'm a bit confused as to exactly how it works - will it display the output of what it executes on the target system? I would like to create a window in Tktinker to where a user can select options (such as run scan on remote system) - it would then run the command-line based scan and

Re: Socket Programming - Question

2006-02-10 Thread Grant Edwards
On 2006-02-11, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am relatively new to Python, and wanted to see if this is > even possible, and if so how to go about implementing it. > What I'm looking to do is create a client/server application > that does the following: > > 1) System2 listens on

Re: Socket Programming - Question

2006-02-10 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: > An example of what I am looking to use this for is for remote virus > scanning. So System2 listens, System1 connects and sends it the Just found this through OSNews: http://rpyc.sourceforge.net/ It actually seems to be a perfect fit for your job. Lorenzo -- http://

Socket Programming - Question

2006-02-10 Thread [EMAIL PROTECTED]
I am relatively new to Python, and wanted to see if this is even possible, and if so how to go about implementing it. What I'm looking to do is create a client/server application that does the following: 1) System2 listens on port > 1023 2) System1 connects to System2 and sends traffic to it -