test SocketChannel