Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2004
    Posts
    61
    Thanks
    0
    Thanked 0 Times in 0 Posts

    JAVA : On Network

    I know that java.net.* have tons of classes for Networking.

    Any one which classes I should use to let all clients on the computer to comunite each other or maybe see the message was post by the administration?

    For example: If an Admin. maybe changed some texts in a specify folder, then the Java updated the file once it's save. And when the client open it up, it show the current messages. I am thinking doing this in Java Applet.

  • #2
    Senior Coder
    Join Date
    Apr 2003
    Location
    England
    Posts
    1,192
    Thanks
    5
    Thanked 13 Times in 13 Posts
    no offence but.. wah!?!?! i didnt get a word of that

    you can use tcp with sockets to connect client applets to a server application (threaded for multiple users)

    or udp packets (but this is quite unreliable apparently)

    or multicast to broadcast messages even if no1 is listening(not in an applet)

    im makeing a chatroom for my ict coursework and im using threaded tcp sockets (its all cofusing me but it should work )


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •