pub fn remote_addr(&self) -> SocketAddr {
        let mut attr = MaybeUninit::<ucp_conn_request_attr>::uninit();
        unsafe { &mut *attr.as_mut_ptr() }.field_mask =
            ucp_conn_request_attr_field::UCP_CONN_REQUEST_ATTR_FIELD_CLIENT_ADDR.0 as u64;
        let status = unsafe { ucp_conn_request_query(self.handle, attr.as_mut_ptr()) };
        assert_eq!(status, ucs_status_t::UCS_OK);
        let attr = unsafe { attr.assume_init() };
        let sockaddr = unsafe {
            os_socketaddr::OsSocketAddr::from_raw_parts(&attr.client_address as *const _ as _, 8)
        };
        sockaddr.into_addr().unwrap()
    }
/// The address of the remote client that sent the connection request to the server.
The address of the remote client that sent the connection request to the server.
The address of the remote client that sent the connection request to the server .
pub fn remote_addr(&self) -> SocketAddr {
        let mut attr = MaybeUninit::<ucp_conn_request_attr>::uninit();
        unsafe { &mut *attr.as_mut_ptr() }.field_mask =
            ucp_conn_request_attr_field::UCP_CONN_REQUEST_ATTR_FIELD_CLIENT_ADDR.0 as u64;
        let status = unsafe { ucp_conn_request_query(self.handle, attr.as_mut_ptr()) };
        assert_eq!(status, ucs_status_t::UCS_OK);
        let attr = unsafe { attr.assume_init() };
        let sockaddr = unsafe {
            os_socketaddr::OsSocketAddr::from_raw_parts(&attr.client_address as *const _ as _, 8)
        };
        sockaddr.into_addr().unwrap()
    }
pub fn remote_addr ( & self ) -> SocketAddr { let mut attr = MaybeUninit :: < ucp_conn_request_attr > :: uninit ( ) ; unsafe { & mut * attr . as_mut_ptr ( ) } . field_mask = ucp_conn_request_attr_field :: UCP_CONN_REQUEST_ATTR_FIELD_CLIENT_ADDR . 0 as u64 ; let status = unsafe { ucp_conn_request_query ( self . handle , attr . as_mut_ptr ( ) ) } ; assert_eq ! ( status ucs_status_t UCS_OK ) ; let attr = unsafe { attr . assume_init ( ) } ; let sockaddr = unsafe { os_socketaddr :: OsSocketAddr :: from_raw_parts ( & attr . client_address as * const _ as _ , 8 ) } ; sockaddr . into_addr ( ) . unwrap ( ) }
The address of the remote client that sent the connection request to the server.
The address of the remote client that sent the connection request to the server .
&self
&self