Hi all,
has anybody ever tried to run the platform on a pure ipv6 network? I am trying, but I am getting an error when the Control Point sends the msearch messages on the SSDPSearchResponseSocketList.
the exception is "Network is unreachable" and it is raised when the send method is called on the DatagramSocket instance.
Has anybody already found this situation?
regards
giordano sassaroli
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!!
I am testing the examples and I have found the same problem when running the control point on a ipv6 network. Have you find a solution?? I will be very grateful if you could help me.
Lots of thanks in advance.
Cheers,
Inma.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I find out the contol point can't send only the IPv6 SSDP message when the socket binds the interface.
I changed HTTPUSocket::open() as the following and release the package as v1.2.
public boolean open(String bindAddr, int bindPort)
{
close();
try {
// Bind only using the port without the interface address. (2003/12/12)
InetSocketAddress bindSock = new InetSocketAddress(/*InetAddress.getByName(bindAddr), */ bindPort);
ssdpUniSock = new DatagramSocket(null);
ssdpUniSock.setReuseAddress(true);
ssdpUniSock.bind(bindSock);
}
catch (Exception e) {
Debug.warning(e);
return false;
}
setLocalAddress(bindAddr);
return true;
}
I checked the problem on Redhat9 with J2SE v1.4.2-b28. Is it a bug of J2SE ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
has anybody ever tried to run the platform on a pure ipv6 network? I am trying, but I am getting an error when the Control Point sends the msearch messages on the SSDPSearchResponseSocketList.
the exception is "Network is unreachable" and it is raised when the send method is called on the DatagramSocket instance.
Has anybody already found this situation?
regards
giordano sassaroli
Hello!!
I am testing the examples and I have found the same problem when running the control point on a ipv6 network. Have you find a solution?? I will be very grateful if you could help me.
Lots of thanks in advance.
Cheers,
Inma.
I find out the contol point can't send only the IPv6 SSDP message when the socket binds the interface.
I changed HTTPUSocket::open() as the following and release the package as v1.2.
public boolean open(String bindAddr, int bindPort)
{
close();
try {
// Bind only using the port without the interface address. (2003/12/12)
InetSocketAddress bindSock = new InetSocketAddress(/*InetAddress.getByName(bindAddr), */ bindPort);
ssdpUniSock = new DatagramSocket(null);
ssdpUniSock.setReuseAddress(true);
ssdpUniSock.bind(bindSock);
}
catch (Exception e) {
Debug.warning(e);
return false;
}
setLocalAddress(bindAddr);
return true;
}
I checked the problem on Redhat9 with J2SE v1.4.2-b28. Is it a bug of J2SE ?