Forums Register Login

monitoring the connected clients to the server from diff IP's

+Pie Number of slices to send: Send
Hi
i've developed a chat server which gets invoked from a frame window.
Now whenever a clients gets connected , the clients address is added to the List which gets displayed on the frame window .
This window has to be opened from 3 different machines ( IP's ) so that the server can be monitored from 3 diff location . Please help me on this one .How should i go about it ??
Thanks a ton in advance
[ April 26, 2003: Message edited by: raghav mathur ]
+Pie Number of slices to send: Send
I'll explain it in detail....
As the clients get connected ,the Socket object for each client is created on the server side . Now the next step would be to open the I/O streams on the Socket Object
I want to hold on a bit ..... i mean , i don't want to open I/O streams on a socket till the time i select a client whom i wish to talk to .
Suppose there are 5 clients connecetd and i wish to talk to the 4th one . So for this purpose i need to store the Socket Objects of all the 5 clients somewhere so that a list of connected clients can be mantained and on the basis of selection , an Input and Output streams for a specific Socket object ( the 4th one in this case)can be opened.
why i need to do such a thing is that if there are 3 adminsitrators who want to access the chat server so that each of them can handle some specific amount of clients then each of them need to see the current list of connected clients .
Now if the Socket objects of these connected clients are stored somewhere from where theses administrators can make use of the objects and open the I/O streams for one to one chatting.
What can be done to achieve this kind of an objective.Please help me .. its urgent .
Thanks in advance
No holds barred. And no bars holed. Except this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1130 times.
Similar Threads
Different types of clients Chatting
how to get system information(like ram size,OS,OS version) using ip address in java
Deigning the MultiServer Environment
Server Socket for chat
GUI for the server-application?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 06:15:21.