Module wire::tcp
[−]
[src]
Structs
OutTcpStream | |
Receiver |
The receiving end of the channel. |
Enums
SizeLimit |
A limit on the amount of bytes that can be read or written. |
Functions
connect_tcp |
Connect to a server and open a send-receive pair. See |
listen_tcp |
Starts listening for connections on this ip and port.
Returns:
* A receiver of Tcp stream objects. It is recommended that you |
upgrade_tcp |
Upgrades a TcpStream to a Sender-Receiver pair that you can use to send and receive objects automatically. If there is an error decoding or encoding values, that respective part is shut down. |
Type Definitions
InTcpStream |