Re: Pyro4 over SSH (native SSH or paramiko)

Irmen de Jong <[email protected]>
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
On 29-6-2013 14:09, Stuart Longland wrote:

> I'll have a look around but I was curious to see if the socket
> communication could be abstracted a bit so that a program using Pyro4
> could supply an object with a socket-like interface; Pyro4 would then do
> its reads/writes as if that were a TCP socket; the program would tunnel
> that via SSL/SSH/pipes/serial/smoke signals/avian carriers as required.
> 
> Obviously, the default implementation would be the sockets library as it
> is now.  I figured I'd ask first before blindly barging in and
> duplicating effort.

I don't know paramiko and how it would affect your code this way, but the socketutil.py
module in Pyro contains all socket related code. It contains various utility and wrapper
functions, and a SocketConnection class that wraps an actual socket.


Irmen


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.