getTrafficClass() 0f DatagramSocket failed on Win 95 with merlin build 55 . Its throwing the following exception.
ERROR: UCSudpServer.UCSudpServer(): caught exception
java.net.SocketException: Option unsupported by protocol: JVM_GetSockOpt() IP_TOS
java.net.SocketException: Option unsupported by protocol: JVM_GetSockOpt() IP_TOS
at java.net.PlainDatagramSocketImpl.socketGetOption(Native Method)
at java.net.PlainDatagramSocketImpl.getOption(PlainDatagramSocketImpl.java:263)
at java.net.DatagramSocket.getTrafficClass(DatagramSocket.java:857)
at UCSudpServer.<init>(UCSudpServer.java:103)
at UCSudpServer.main(UCSudpServer.java:59)
DTI_Error
How to reproduce it:
--------------------
1. Take Networking test suite from
/net/sqesvr/export/vsn/NET/merlin_jdk_net/TestSuite/tests
2. Do a make with 'make KIT=global all'
3. Execute the Unconnected sockets UDP tests located in the testsuite at /tests/UCSudp/ as follows
4. Execute udp server from from teh above folder as follows on a Win 95 machine..
run_udp_server
ERROR: UCSudpServer.UCSudpServer(): caught exception
java.net.SocketException: Option unsupported by protocol: JVM_GetSockOpt() IP_TOS
java.net.SocketException: Option unsupported by protocol: JVM_GetSockOpt() IP_TOS
at java.net.PlainDatagramSocketImpl.socketGetOption(Native Method)
at java.net.PlainDatagramSocketImpl.getOption(PlainDatagramSocketImpl.java:263)
at java.net.DatagramSocket.getTrafficClass(DatagramSocket.java:857)
at UCSudpServer.<init>(UCSudpServer.java:103)
at UCSudpServer.main(UCSudpServer.java:59)
DTI_Error
How to reproduce it:
--------------------
1. Take Networking test suite from
/net/sqesvr/export/vsn/NET/merlin_jdk_net/TestSuite/tests
2. Do a make with 'make KIT=global all'
3. Execute the Unconnected sockets UDP tests located in the testsuite at /tests/UCSudp/ as follows
4. Execute udp server from from teh above folder as follows on a Win 95 machine..
run_udp_server