• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Detecting Network Strength

 
Shyam Prasad Murarka
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • 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?
 
Tim LeMaster
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Dear Readers,
Thanks so much. Sounds like I was headed the wrong way.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic