Skip to main content

close

Function close 

Source
pub unsafe fn close(sock: CSocket)
Expand description

Close a raw socket/file descriptor.

ยงSafety

sock must be a valid descriptor owned by the caller. It must not be used again after this function returns.