Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-26-2004, 08:16 AM   PM User | #1
VietBoyVS
New Coder

 
Join Date: Jan 2004
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
VietBoyVS is an unknown quantity at this point
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.
VietBoyVS is offline   Reply With Quote
Old 10-26-2004, 11:28 AM   PM User | #2
ghell
Senior Coder

 
Join Date: Apr 2003
Location: England
Posts: 1,192
Thanks: 5
Thanked 13 Times in 13 Posts
ghell is on a distinguished road
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 )
__________________
My tech/code blog
ghell is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:48 PM.


Advertisement
Log in to turn off these ads.