pub unsafe extern "C" fn ddsrt_connect(
sock: ddsrt_socket_t,
addr: *const sockaddr,
addrlen: socklen_t,
) -> dds_return_tExpand description
@brief Connects the socket to the address specified by ‘addr’.
@param[in,out] sock the socket @param[in] addr a socket address @param[in] addrlen the size of ‘addr’ @return a DDS_RETCODE (OK, ERROR, TIMEOUT, and more)
See @ref ddsrt_accept