SocketChannel.read ( ) got correct data only once and blank
To test sending data with SocketChannel:
My Java app uses SocketChannel.write ( ) to keep sending same data repeatedly with a random short delay. Checking the cmdline log, the data is always sent correctly.
|2018|0|null|null|0|....000000|0.000000|
|2018|0|null|null|0|....000000|0.000000|
|2018|0|null|null|0|....000000|0.000000|
|2018|0|null|null|0|....000000|0.000000|
|2018|0|null|null|0|....000000|0.000000|
My Kotlin app receives the data with SocketChannel.read ( ), and print the logs a...