AsyncSocket.kill

Removes the socket from the event loop, shutting it down if necessary, and cleans up the underlying resources. Only after this method has been called may the socket instance be deallocated.

class AsyncSocket
nothrow
bool
kill
(
bool forced = false
)

Meta