I need to connect to 4 machines and read data from sockets. I\'ve chosen to use async model of nio2.
Here is a pseudo code :