Tcp-Client
Read this in other languages: English, 简体中文.
Description
Convenient client-side TCP service. Also see tcp-server for server-side.
Based on tcp-handler.
With complete API document.
Usage
Add this to your Cargo.toml
:
[]
= "~0.1"
Example
use ClientBase;
use client_factory;
use ClientFactory;
use NetworkError;
client_factory!;
async
Version map
Versions map to tcp-server with the same protocol. (Recommended for use in conjunction, otherwise unexpected bugs may occur.)
client version | server version |
---|---|
>=0.1.0 | >=0.2.0 |
<0.1.0 | <0.2.0 |