Code example for SocketChannel

Methods: write