cig 0.1.2

Simplify TCP/IP applications with a transparential, persistent-mode and data-driven protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::time::Duration;

pub mod conn;
pub mod pkg;
pub mod smoke;
pub mod stog;

pub const IO_TIMEOUT: Option<Duration> = Some(Duration::from_millis(50)); // from where i took
                                                                          // these values? Well,
                                                                          // idk.
pub const IO_RESTORE_CONNECT_SYNC_SECS: usize = 3;

pub type PeerID = u64;