Close is a virtual procedure that performs the processing necessary to close an input/output source. Descendant classes must override this method to provide the specific functionality needed for the IOHandler, such as closing a socket handle or stream.