pyre.ipc.Socket

Module Contents

class pyre.ipc.Socket.Socket

Bases: socket.socket, pyre.ipc.Channel.Channel

A channel that uses sockets as the communication mechanism

This class captures the part of the {socket} interface that is independent of the type of socket. The implementation of the remainder of the {Channel} interface is provided by subclasses.

__slots__ = []
accept(self)

Wait for a connection attempt, build a channel around the socket to the peer, and return it along with the address of the remote process

__str__(self)