When the DatagramSocket.setTrafficClass(3) is called on the solaris it does on complain. But same method is called on linux the following exception is thrown>
>
>ERROR: UCSudpServer.UCSudpServer(): caught exception
>java.net.SocketException: Invalid argument
>java.net.SocketException: Invalid argument
> at java.net.PlainDatagramSocketImpl.socketSetOption(Native Method)
> at
>java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:243
>)
> at java.net.DatagramSocket.setTrafficClass(DatagramSocket.java:844)
> at UCSudpServer.<init>(UCSudpServer.java:104)
> at UCSudpServer.main(UCSudpServer.java:59)
>
>ERROR: UCSudpServer.UCSudpServer(): caught exception
>java.net.SocketException: Invalid argument
>java.net.SocketException: Invalid argument
> at java.net.PlainDatagramSocketImpl.socketSetOption(Native Method)
> at
>java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:243
>)
> at java.net.DatagramSocket.setTrafficClass(DatagramSocket.java:844)
> at UCSudpServer.<init>(UCSudpServer.java:104)
> at UCSudpServer.main(UCSudpServer.java:59)