java.nio.channels.SocketChannel用於定期寫入和立即讀取 [英]java.nio.channels.SocketChannel for both periodic write and immediate read