Hello kai,

     Well, all the program does before throwing that exception is:

NTPUDPClient client = new NTPUDPClient();
// We want to timeout if a response takes longer than 10 seconds
client.setDefaultTimeout(10000);
try {
   client.open(NtpV3Packet.NTP_PORT);
   .................


----- Original Message ----- From: "kai" <[EMAIL PROTECTED]>
To: <commons-user@jakarta.apache.org>
Sent: Friday, June 02, 2006 6:23 PM
Subject: Re: [NTP] NTPClient - client.open(NtpV3Packet.NTP_PORT);


On Friday 02 June 2006 03:11 am, Mihaela Tarjoianu wrote:
Hello everybody,

I'm trying to run NTPClient.java from the package: examples.ntp, but I
receive the following error:

java.net.BindException: Address already in use: Cannot bind

There's your error. Have you already set the object?

--
kai - www.perfectreign.com
www.livebeans.com - the new NetBeans community

43...for those who require slightly more than
the answer to life, the universe and everything.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to