-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
1.1.6
-
Fix Understood
-
sparc
-
solaris_2.6
Name: dbT83986 Date: 02/17/99
UDP broadcasts are not received on binding to specific interface
under Solaris 2.5 & 2.6. The broadcast packets are received under
Windows 95 and Windows NT 4.0.
Background:
A DHCP server needs to detect which interface it has received
a request from (to be able to allocate an address on the same
net). Since java.net does not provide a way to detect the destination
address a UDP packet was sent to, we opted for a work around by
binding to all the addresses of the server and using the receiving
thread to identify the source interface.
This works fine on Windows.
However on Solaris the server does not receive broadcasted requests.
The DHCP server needs to receive these since initial requests
from DHCP clients are broadcasts.
(Review ID: 48935)
======================================================================
UDP broadcasts are not received on binding to specific interface
under Solaris 2.5 & 2.6. The broadcast packets are received under
Windows 95 and Windows NT 4.0.
Background:
A DHCP server needs to detect which interface it has received
a request from (to be able to allocate an address on the same
net). Since java.net does not provide a way to detect the destination
address a UDP packet was sent to, we opted for a work around by
binding to all the addresses of the server and using the receiving
thread to identify the source interface.
This works fine on Windows.
However on Solaris the server does not receive broadcasted requests.
The DHCP server needs to receive these since initial requests
from DHCP clients are broadcasts.
(Review ID: 48935)
======================================================================
- relates to
-
JDK-4191980 DatagramSocket won't see packets sent to a broadcast address
- Resolved