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. Get Client Request Ip

Get Client Request Ip

Scheduled Pinned Locked Moved C / C++ / MFC
sysadminc++help
3 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.
  • M Offline
    M Offline
    mirtu
    wrote on last edited by
    #1

    Hello Sir i project is in VC(MFC) I have two lan cards in my Server in such a way that Lan Card a1 is connected to internet and holds Public IP infomration and Lan card a2 is meant for private internal network and holds internal IP information and connects to client machines in my internal network. In my coding want to develop a module that can enable me to find realtime IP addresses and/or computer name of the Client machines that are using internet via server in my internal network. Plz help me.....I want source code or tips or Link..

    M R 2 Replies Last reply
    0
    • M mirtu

      Hello Sir i project is in VC(MFC) I have two lan cards in my Server in such a way that Lan Card a1 is connected to internet and holds Public IP infomration and Lan card a2 is meant for private internal network and holds internal IP information and connects to client machines in my internal network. In my coding want to develop a module that can enable me to find realtime IP addresses and/or computer name of the Client machines that are using internet via server in my internal network. Plz help me.....I want source code or tips or Link..

      M Offline
      M Offline
      Maruf Maniruzzaman
      wrote on last edited by
      #2

      Are you looking for WinPcap- the packet monitoring driver with API? You need to design an APP with winpcap and run that on server. You can monitor anything.

      Maruf Maniruzzaman Dhaka, Bangladesh. Homepage: http://www.kuashaonline.com
      Blog you should not miss Tomorrow is a blank page

      1 Reply Last reply
      0
      • M mirtu

        Hello Sir i project is in VC(MFC) I have two lan cards in my Server in such a way that Lan Card a1 is connected to internet and holds Public IP infomration and Lan card a2 is meant for private internal network and holds internal IP information and connects to client machines in my internal network. In my coding want to develop a module that can enable me to find realtime IP addresses and/or computer name of the Client machines that are using internet via server in my internal network. Plz help me.....I want source code or tips or Link..

        R Offline
        R Offline
        Rajkumar R
        wrote on last edited by
        #3

        mirtu wrote:

        In my coding want to develop a module that can enable me to find realtime IP addresses and/or computer name of the Client machines that are using internet via server in my internal network.

        what about RAW Sockets (SOCK_RAW), eventhough there are controversy using RAW Socket, i think with administrative priviledge, your application can use RAW Socket, through RAW Sockets you can get the IP packets header to find the IP addresses.

        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