It is similar to Java, right up to Java 6 (I did not research Java 7 because I don’t know if they decided what will happen next or not), and it seems that Java does not provide any support whatsoever for reading urgent TCP information in out-of-band mode . And it looks like it's a deliberate choice, so far.
, , , JNI, . JDK. ! .:) , , .