windows::Win32::Networking::WinSock

Function WSAConnectByNameA

pub unsafe fn WSAConnectByNameA<P1, P2>(
    s: SOCKET,
    nodename: P1,
    servicename: P2,
    localaddresslength: Option<*mut u32>,
    localaddress: Option<*mut SOCKADDR>,
    remoteaddresslength: Option<*mut u32>,
    remoteaddress: Option<*mut SOCKADDR>,
    timeout: Option<*const TIMEVAL>,
    reserved: Option<*const OVERLAPPED>,
) -> Result<()>
where P1: Param<PCSTR>, P2: Param<PCSTR>,