| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
MinimalSocketStream
MinimalSocketStream(sock)
Minimal stream out of a socket
This effectively maps recv to read and sendall to write.
See Also: GenericStream
|
|||
|
|||
| a new object with type S, a subtype of T |
|
||
|
|||
| str |
|
||
|
|||
|
Inherited from |
|||
|
|||
| closed | |||
| name | |||
|
Inherited from |
|||
|
|||
|
|
s.close() Close the stream (not necessarily the socket) |
s.read(size) -> bytes Read size bytes (or less) from the socket Parameters
Types
|
s.write(data) Write data to the socket Parameters
Types
|
| Home | Trees | Indices | Help |
|
|---|