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. How to access physical memory location from IP address

How to access physical memory location from IP address

Scheduled Pinned Locked Moved C / C++ / MFC
performancetutorialquestion
5 Posts 4 Posters 1 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.
  • F Offline
    F Offline
    fingerss5
    wrote on last edited by
    #1

    Can someone assist me how to read/write physical memory location from IP address? Thanks.

    CPalliniC L S 3 Replies Last reply
    0
    • F fingerss5

      Can someone assist me how to read/write physical memory location from IP address? Thanks.

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      User code can just access virtual memory (i.e. it doesn't know the physical address is accessing).

      fingerss5 wrote:

      from IP address

      If you mean: "from a remote PC" then you have to write a client-server application for the purpose. :)

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
      [My articles]

      In testa che avete, signor di Ceprano?

      1 Reply Last reply
      0
      • F fingerss5

        Can someone assist me how to read/write physical memory location from IP address? Thanks.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        fingerss5 wrote:

        Can someone assist me how to read/write physical memory location from IP address?

        Just what do you mean? An IP address has nothing to do with memory. If you mean on a remote machine, then say so. And the other posters comments are entirely valid if that is the case.

        ============================== Nothing to say.

        1 Reply Last reply
        0
        • F fingerss5

          Can someone assist me how to read/write physical memory location from IP address? Thanks.

          S Offline
          S Offline
          Software_Developer
          wrote on last edited by
          #4

          [ This ] talks about Shared memory access permissions on Windows. Maybe [ this ] article on Memory-mapped files might help but it applies to XP, not Vista/Windows 7. ("Memory-mapped files allow a file on disk to be associated with an address space. Once this mapping is done the data in the file can be accessed as if the file was in memory." ) MSDN has lots on Memory-mapped files, google "Sharing Memory Over Networks" and/or "Memory-mapped files".

          F 1 Reply Last reply
          0
          • S Software_Developer

            [ This ] talks about Shared memory access permissions on Windows. Maybe [ this ] article on Memory-mapped files might help but it applies to XP, not Vista/Windows 7. ("Memory-mapped files allow a file on disk to be associated with an address space. Once this mapping is done the data in the file can be accessed as if the file was in memory." ) MSDN has lots on Memory-mapped files, google "Sharing Memory Over Networks" and/or "Memory-mapped files".

            F Offline
            F Offline
            fingerss5
            wrote on last edited by
            #5

            Thanks

            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