Connecting to IOCP server in Java (Android)

I'd like to make an Online Game with Android.

I'm planning to make Server with IOCP model via C++. This should work fine, the problem is the client. IOCP client example in C++ uses WSASyncselect or WSAEventSelect.

I couldn't find any Java examples that same work like async socket.


  1. Is there anything like WSASyncselect() in Java?
  2. If not that, how could i do it?


The JDK 7 Windows implementation of the Java 7 "NIO.2" classes

For more in-depth information check out the OpenJDK repository folders containing the implementation .java sources along with their corresponding .c native sources and JNI bindings .

Need Your Help

array of string in a schema mongoose

arrays node.js mongodb mongoose

I'm trying to have a Role that contains an array of access.

How to effectively manage memory (heap) of Android app

java android memory-leaks out-of-memory heap-memory

I am new to android, could any one please tell me how to write effective code with respect to memory management.