TimeClient an Internet client application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MBeckford05
    New Member
    • Mar 2007
    • 7

    TimeClient an Internet client application

    TimeClient is an Internet client application which sends periodic requests to TimeServer in a window.

    (i) TimeClient should have three command line arguments: 1) a local port for sending and receiving datas, (2) The IP address(or domain name) and (3) the port on which Time Server is running. If the number of command line arguments is not exactly three. Time Client should display appriate message. on the system console and exit.


    TimeClient should repeat forever

    send a request in the form of UDP datagram to[TimeServer. The data in the datagram does not matter, since Timeserver only uses it to indentify the client.

    wait for a DatagramPacket from TimeServer. If a DatagramPacket arrives, the data in the packet should be converted in to a string and displayed in a window.

    pause for 1 second.

    This program is written in Java on Windows 2000, xp platform.

    I would be grateful for any assistance.
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    What have you done so far? The experts here will be glad to help you, but we won't write it for you.

    Greetings,
    Nepomuk

    Comment

    Working...