Skip to main content

ddsrt_close

Function ddsrt_close 

Source
pub unsafe extern "C" fn ddsrt_close(
    sock: ddsrt_socket_t,
) -> dds_return_t
Expand description

@brief Close the socket

@param[in,out] sock the socket (file descriptor) created by @ref ddsrt_socket @return a DDS_RETCODE (OK, ERROR, INTERRUPTED, BAD_PARAMETER)