0

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.

Questions:

  1. Is there anything like WSASyncselect() in Java?
  2. If not that, how could i do it?
Peter Lang
  • 54,264
  • 27
  • 148
  • 161

1 Answers1

3

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 .

Community
  • 1
  • 1
Amann Malik
  • 708
  • 5
  • 8