File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes network time protocol Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "network time protocol" Watch "network time protocol" New topic
Author

network time protocol

Nicholas Jordan
Ranch Hand

Joined: Sep 17, 2006
Posts: 1282
HttpURLConnection.java will let one do an http.

What if you need to use the ntp:// protocol ?

Yes, I can construct a URL.java - but will that allow me to implement the protocol in my porject ?


"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 16813
    
  19

The client-side NTP protocol has already been implemented by the Apache Commons Net library. It is probably easier to use an open-source library, than to write your own URL stream handler.

Henry
[ February 08, 2008: Message edited by: Henry Wong ]

Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Nicholas Jordan
Ranch Hand

Joined: Sep 17, 2006
Posts: 1282
I see, this will be efficient. I unpacked the sources - apparently the group understands the efficacy of correctly commented code.
[ February 08, 2008: Message edited by: Nicholas Jordan ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: network time protocol
 
Similar Threads
SCEA Beta MARKS ARE IN - How did you do?
advanced networking& beans
Create file in java and write it to a different server on a different network
How would you feel
WA #1.....word association