Skip to main content

destroy_socket

Function destroy_socket 

Source
pub fn destroy_socket(socket: I)
Expand description

Remove callback from the associated kdb+ socket and call kclose. Return null if the socket is invalid or not the one which had been registered by sd1.

ยงNote

A function which calls this function must be executed at the exit of the process.