Function libvnc_sys::rfb::ConnectClientToTcpAddrWithTimeout

source ·
pub unsafe extern "C" fn ConnectClientToTcpAddrWithTimeout(
    host: c_uint,
    port: c_int,
    timeout: c_uint
) -> c_int
Expand description

Tries to connect to an IPv4 host using the given timeout value. @param host Binary IPv4 address @param port Port @param timeout The time in seconds to wait for a connection @return A nonblocking socket or RFB_INVALID_SOCKET if the connection failed