Function kdb_c_api::destroy_socket[][src]

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.