When using recvfrom in a native method, it blocks even though
it has been set to "non blocking". If the same routine is
called from a C program, it works fine. However, as I said, when called
from a Java program it works incorrectly.
I'm told that the (Java) program works fine on NT. It apparently only
fails on Solaris.
A sample program can be found at:
/net/deadbolt.east/usr2/cv/pack
There is a readme file in the directory that explains how to run the
program.
it has been set to "non blocking". If the same routine is
called from a C program, it works fine. However, as I said, when called
from a Java program it works incorrectly.
I'm told that the (Java) program works fine on NT. It apparently only
fails on Solaris.
A sample program can be found at:
/net/deadbolt.east/usr2/cv/pack
There is a readme file in the directory that explains how to run the
program.
- duplicates
-
JDK-4108318 recvfrom blocks even when set to "non-blocking" when using green thread
- Closed