This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hi, Java doesn't provide that type of API (Correct me if I am Wrong). But i would say try to open the datagram Socket within a Try Catch block and catch for Bind exception then you can implement what ever is your requirement. hope this helps Mallick email@example.com
Joined: May 23, 2003
Hi, JDK1.4 provids an API to check whether the socket is bound or not. I didn't use this but it may be worth checking it. Mallick firstname.lastname@example.org