|
Scott,Adding the bind() worked great. Thanks! We understand the single address but for this application that's exactly what we want.
- Larry Scott Klement wrote:
You can bind the socket to a particular address. Java simply MUST have a bind() method... otherwise, what good is it?The next issue you'll encounter will be that you now only receive datagrams that are sent to that particular address. If that's an issue, you can run 3 copies of the program (or make the program listen to 3 sockets in 3 threads) each one binding to a different address.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.