windows::Win32::Networking::WinSock

Function WSAConnectByNameW

pub unsafe fn WSAConnectByNameW<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<PCWSTR>, P2: Param<PCWSTR>,