socket v0.3.9 Socket.Stream.Protocol protocol
Summary
Functions
Close the socket
Send a file through the socket, using non-copying operations where available
Receive data from the socket compatible with the packet type
Receive data from the socket with the given length or options
Receive data from the socket with the given length and options
Send data through the socket
Shutdown the socket in the given mode, either :both
, :read
, or :write
Types
Functions
Close the socket.
Send a file through the socket, using non-copying operations where available.
Receive data from the socket compatible with the packet type.
Receive data from the socket with the given length or options.
Receive data from the socket with the given length and options.
Send data through the socket.
Shutdown the socket in the given mode, either :both
, :read
, or :write
.