IMasterConnection_getPeerAddress

Function IMasterConnection_getPeerAddress 

Source
pub unsafe extern "C" fn IMasterConnection_getPeerAddress(
    self_: IMasterConnection,
    addrBuf: *mut c_char,
    addrBufSize: c_int,
) -> c_int
Expand description

Get the peer address of the master (only for CS 104)

§Arguments

  • addrBuf - buffer where to store the IP address as string
  • addrBufSize - the size of the buffer where to store the IP address

§Returns

the number of bytes written to the buffer, 0 if function not supported