• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

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

Ranch Hand
Posts: 641
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
Raghav Mathur
Ranch Hand
Posts: 641
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic