Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

add read timeout #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Commits on Dec 28, 2015

  1. add read timeout

    This commit adds a `set_read_timeout` function similar to Rust's
    `set_read_timeout`[1]. The differences compared to upstream are:
    
    - Operation always succeed.
    - It takes an u64 instead Duration.
    
    [1] https://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_read_timeout
    vinipsmaker committed Dec 28, 2015
    Configuration menu
    Copy the full SHA
    9261520 View commit details
    Browse the repository at this point in the history