transport.npipesocket

Module Contents

Classes

NpipeSocket(self,handle=None) Partial implementation of the socket API over windows named pipes.
NpipeFileIOBase(self,npipe_socket)

Functions

check_closed(f)
check_closed(f)
class NpipeSocket(handle=None)

Partial implementation of the socket API over windows named pipes. This implementation is only designed to be used as a client socket, and server-specific methods (bind, listen, accept…) are not implemented.

__init__(handle=None)
accept()
bind(address)
close()
connect(address)
connect_ex(address)
detach()
dup()
fileno()
getpeername()
getsockname()
getsockopt(level, optname, buflen=None)
ioctl(control, option)
listen(backlog)
makefile(mode=None, bufsize=None)
recv(bufsize, flags=0)
recvfrom(bufsize, flags=0)
recvfrom_into(buf, nbytes=0, flags=0)
recv_into(buf, nbytes=0)
_recv_into_py2(buf, nbytes)
send(string, flags=0)
sendall(string, flags=0)
sendto(string, address)
setblocking(flag)
settimeout(value)
gettimeout()
setsockopt(level, optname, value)
shutdown(how)
class NpipeFileIOBase(npipe_socket)
__init__(npipe_socket)
close()
fileno()
isatty()
readable()
readinto(buf)
seekable()
writable()