I try to run the sample download from this site,when i run the sample i got the error message.
CyberGarage warning : error setting options
java.net.SocketException: error setting options
at java.net.PlainDatagramSocketImpl.join(Native Method)
at java.net.PlainDatagramSocketImpl.joinGroup(Unknown Source)
at java.net.MulticastSocket.joinGroup(Unknown Source)
at org.cybergarage.upnp.ssdp.HTTPMUSocket.open(HTTPMUSocket.java:106)
at org.cybergarage.upnp.ssdp.SSDPNotifySocket.<init>(SSDPNotifySocket.java:50)
at org.cybergarage.upnp.Service.byebye(Service.java:549)
at org.cybergarage.upnp.Device.byebye(Device.java:1198)
at org.cybergarage.upnp.Device.byebye(Device.java:1218)
at org.cybergarage.upnp.Device.stop(Device.java:1685)
at org.cybergarage.upnp.Device.stop(Device.java:1708)
at LightFrame.windowClosing(LightFrame.java:76)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
How to overcome such problem?
I am sorry about my poor English.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I try to run the sample download from this site,when i run the sample i got the error message.
CyberGarage warning : error setting options
java.net.SocketException: error setting options
at java.net.PlainDatagramSocketImpl.join(Native Method)
at java.net.PlainDatagramSocketImpl.joinGroup(Unknown Source)
at java.net.MulticastSocket.joinGroup(Unknown Source)
at org.cybergarage.upnp.ssdp.HTTPMUSocket.open(HTTPMUSocket.java:106)
at org.cybergarage.upnp.ssdp.SSDPNotifySocket.<init>(SSDPNotifySocket.java:50)
at org.cybergarage.upnp.Service.byebye(Service.java:549)
at org.cybergarage.upnp.Device.byebye(Device.java:1198)
at org.cybergarage.upnp.Device.byebye(Device.java:1218)
at org.cybergarage.upnp.Device.stop(Device.java:1685)
at org.cybergarage.upnp.Device.stop(Device.java:1708)
at LightFrame.windowClosing(LightFrame.java:76)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
How to overcome such problem?
I am sorry about my poor English.
At frst glance it seems that you're using a wrong Multicast address or that you're not connected to any network.
I don't have any other idea, without more information.