Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Help??calculate a distance between 2 computers?

Help??calculate a distance between 2 computers?

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelptutorial
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    VikramDelhi i
    wrote on last edited by
    #1

    Hi Is there a way to calculate the distance between 2 computers? Suppose I have 5 computers located in diff. parts of the world. Now I want to send information from 1st computer (say computer A) to the farthest (say computer E). I can easily evaluate the shortest path between 2 computers if I know how to calculate the distance between 2 computers. Now my question is ->>> Is there a way to calculate a distance between 2 computers? Some idea, hint or code! Please help. Thanks

    B C 2 Replies Last reply
    0
    • V VikramDelhi i

      Hi Is there a way to calculate the distance between 2 computers? Suppose I have 5 computers located in diff. parts of the world. Now I want to send information from 1st computer (say computer A) to the farthest (say computer E). I can easily evaluate the shortest path between 2 computers if I know how to calculate the distance between 2 computers. Now my question is ->>> Is there a way to calculate a distance between 2 computers? Some idea, hint or code! Please help. Thanks

      B Offline
      B Offline
      bryce
      wrote on last edited by
      #2

      u could get each computer to ping each other computer and then report back, then u get "distances" bryce --- To paraphrase Fred Dagg - the views expressed in this post are bloody good ones. --
      Publitor, making Pubmed easy. http://www.sohocode.com/publitor

      Our kids book :The Snot Goblin

      1 Reply Last reply
      0
      • V VikramDelhi i

        Hi Is there a way to calculate the distance between 2 computers? Suppose I have 5 computers located in diff. parts of the world. Now I want to send information from 1st computer (say computer A) to the farthest (say computer E). I can easily evaluate the shortest path between 2 computers if I know how to calculate the distance between 2 computers. Now my question is ->>> Is there a way to calculate a distance between 2 computers? Some idea, hint or code! Please help. Thanks

        C Offline
        C Offline
        cmk
        wrote on last edited by
        #3

        1. What do you mean by 'distance' - physical (i.e. miles), or network (i.e. hops) ? 2. If you mean physical then your premise: 'I can easily evaluate the shortest path between 2 computers if I know how to calculate the distance between 2 computers' is incorrect. ...cmk Save the whales - collect the whole set

        V 1 Reply Last reply
        0
        • C cmk

          1. What do you mean by 'distance' - physical (i.e. miles), or network (i.e. hops) ? 2. If you mean physical then your premise: 'I can easily evaluate the shortest path between 2 computers if I know how to calculate the distance between 2 computers' is incorrect. ...cmk Save the whales - collect the whole set

          V Offline
          V Offline
          VikramDelhi i
          wrote on last edited by
          #4

          Thanks for replay I actually want to calculate the best path for sending information from one computer to another. What I am trying is : I am trying to build a network where several servers will be distributed to in a wide area. The purpose of these servers will be to deliver fax. I require calculating the best path for this purpose. Actually this is a final year project. vikram

          C 1 Reply Last reply
          0
          • V VikramDelhi i

            Thanks for replay I actually want to calculate the best path for sending information from one computer to another. What I am trying is : I am trying to build a network where several servers will be distributed to in a wide area. The purpose of these servers will be to deliver fax. I require calculating the best path for this purpose. Actually this is a final year project. vikram

            C Offline
            C Offline
            cmk
            wrote on last edited by
            #5

            Then do a search for a network 'trace' implimentation. e.g. Search on keywords: network trace route c++ ...cmk Save the whales - collect the whole set

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups