NET_GetPortFromSockaddr returns the port in host byte order,
but the calling function reverses the order by calling ntohs().
In other words ntohs() is called twice. Effect only noticed
on Linux and Solaris x86.
but the calling function reverses the order by calling ntohs().
In other words ntohs() is called twice. Effect only noticed
on Linux and Solaris x86.
- duplicates
-
JDK-4396701 JCK: Socket tests fail on Linux
-
- Closed
-