• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Detecting Network Strength

 
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Readers,
I have developed a Chat program. I would now like to add the feature of detecting the strength of the network. I have seen it in Limewire which has been developed using Java.
My idea was to send data as follows:


Client 1 >> Server >> Client 2 >> Server >> Client 1



I was planning to keep track of the time it took for the data to reach back to the original client. Is this a good idea? If it is, then on what scale do we grade the strength of the network?
 
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well considering Limewire is a P2P type application I would guess network strength is based upon the number of peers who you have contact with.

Whats the strength in a chat program? I'm not sure which is probably why you don't see them on most chat programs.

Client 1 >> Server >> Client 2 >> Server >> Client 1

How often are you going to do this and to which clients? The ones I'm chatting with? I guess then I could get an idea of whats the lag between me and whom I'm chatting with. But I would expect that to be measured in milliseconds so I can't imagine I'd care in a chat program - now a FPS is a different matter completely.

I don't think this has anything to do with Java. More of trying to flesh out some requirement you thought up.
 
Shyam Prasad Murarka
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Readers,
Thanks so much. Sounds like I was headed the wrong way.
 
Get me the mayor's office! I need to tell her about this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic