Code example for SocketChannel

Methods: socketcloseisOpen