C
captain_oldfield
Hi All,
I am struggling to find any information on how Java can be made to
poll multiple sockets in a single thread. In variants of UNIX this is
simply done via the select() call.
Can anyone provide any links to tutorials/information explaining how
this is done? I did come across information on the SocketChannel &
Selector classes somewhere, but unfortunately I lost the link I do
remember there was something particular about version 1.4 &
onwards....
Thanks all
I am struggling to find any information on how Java can be made to
poll multiple sockets in a single thread. In variants of UNIX this is
simply done via the select() call.
Can anyone provide any links to tutorials/information explaining how
this is done? I did come across information on the SocketChannel &
Selector classes somewhere, but unfortunately I lost the link I do
remember there was something particular about version 1.4 &
onwards....
Thanks all