What is the 'wildcard address' In the context of UDP Broadcasts?
问题 Referring to the Java 6 API docs for the DatagramSocket class: UDP broadcasts sends are always enabled on a DatagramSocket. In order to receive broadcast packets a DatagramSocket should be bound to the wildcard address . In some implementations, broadcast packets may also be received when a DatagramSocket is bound to a more specific address. Could someone tell me what the 'wildcard address' is? And is the following valid for listening for UDP broadcasts: MulticastSocket socket = new