pub unsafe extern "C" fn ddsrt_listen(
sock: ddsrt_socket_t,
backlog: c_int,
) -> dds_return_tExpand description
@brief Marks the socket referred to by ‘sock’ as a passive socket.
A passive socket will be used to accept incoming connection requests using @ref ddsrt_accept.
@param[in,out] sock file descriptor of the socket @param[in] backlog maximum number of pending connections @return a DDS_RETCODE (OK, ERROR, PRECONDITION_NOT_MET, BAD_PARAMETER, ILLEGAL_OPERATION)