You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:
have access to post topics
communicate privately with other members (PM)
not see advertisements between posts
have the possibility to earn one of our surprises if you are an active member
access many other special features that will be introduced later.
Hi all
I am bhanu lakshmi. I am doing a client server appliction in Java.
My doubt is How can I broadcast a message to all users who logged in.
Pls give some sample source codes to get clear.
Your server will keep track of the ip of the connected users. Whenever you want to broadcast a message to them, your server will send a message to the client side. It will be more clear if you read Sun's tutorial: