Struct nix::sys::socket::sockopt::TcpNoDelay [−][src]
pub struct TcpNoDelay;
Expand description
Under most circumstances, TCP sends data when it is presented; when outstanding data has not yet been acknowledged, it gathers small amounts of output to be sent in a single packet once an acknowledgement is received. For a small number of clients, such as window systems that send a stream of mouse events which receive no replies, this packetization may cause significant delays. The boolean option TCP_NODELAY defeats this algorithm.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TcpNoDelay
impl Send for TcpNoDelay
impl Sync for TcpNoDelay
impl Unpin for TcpNoDelay
impl UnwindSafe for TcpNoDelay
Blanket Implementations
Mutably borrows from an owned value. Read more