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. Database & SysAdmin
  3. System Admin
  4. [Message Deleted]

[Message Deleted]

Scheduled Pinned Locked Moved System Admin
9 Posts 3 Posters 4 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.
  • G Offline
    G Offline
    Gajendra Sharma
    wrote on last edited by
    #1

    [Message Deleted]

    L 1 Reply Last reply
    0
    • G Gajendra Sharma

      [Message Deleted]

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

      Gajendra Sharma wrote:

      Now, the loopback address can be anything in 127. net

      Actually the loopback address is not limited to the 127 subnet, a loopback adaptor can be set to any address.

      Gajendra Sharma wrote:

      How do i know what is the exact loopback IP address configured on my machine.

      Your question is not very well formed and you left out quite a few details. 1.) What operating system? Linux? Windows Server? XP? Vista? 2.) Are you looking for commandline tools such as NetSh[^]? 3.) Are you looking for a programming solution or commandline? Best Wishes, -David Delaune

      N G 2 Replies Last reply
      0
      • L Lost User

        Gajendra Sharma wrote:

        Now, the loopback address can be anything in 127. net

        Actually the loopback address is not limited to the 127 subnet, a loopback adaptor can be set to any address.

        Gajendra Sharma wrote:

        How do i know what is the exact loopback IP address configured on my machine.

        Your question is not very well formed and you left out quite a few details. 1.) What operating system? Linux? Windows Server? XP? Vista? 2.) Are you looking for commandline tools such as NetSh[^]? 3.) Are you looking for a programming solution or commandline? Best Wishes, -David Delaune

        N Offline
        N Offline
        Nickolay Karnaukhov
        wrote on last edited by
        #3

        Have any Indian developer formed his question well? Good answer is Google :-) However - your will to help deserves respect!

        ------------------------------------------------------------ Want to be happy - do what you like!

        G 1 Reply Last reply
        0
        • L Lost User

          Gajendra Sharma wrote:

          Now, the loopback address can be anything in 127. net

          Actually the loopback address is not limited to the 127 subnet, a loopback adaptor can be set to any address.

          Gajendra Sharma wrote:

          How do i know what is the exact loopback IP address configured on my machine.

          Your question is not very well formed and you left out quite a few details. 1.) What operating system? Linux? Windows Server? XP? Vista? 2.) Are you looking for commandline tools such as NetSh[^]? 3.) Are you looking for a programming solution or commandline? Best Wishes, -David Delaune

          G Offline
          G Offline
          Gajendra Sharma
          wrote on last edited by
          #4

          David, Thanks for your answer and quick and valuable help. I am not asking about loopback adapter that is optionally installed and does not come with Windows. The Microsoft Loopback Adapter is an optional interface you can install, not a standard part of the OS, and, even *without* that adapter installed, you can send IP packets from the machine to its own IP address, or to 127.0.0.1 (the loopback address), and have them be received by the machine.I assume that the purpose of the Microsoft Loopback Adapter is to deal with cases where you *do* want a network adapter for testing purposes (so that what I presume is internal looping-back by the networking stack isn't sufficient), or where you need a network address other than one that belongs to a real network adapter and other than the 127.0.0.1 (or other loopback network) address. Thus the loopback address i am talking about is different then the loopback adapter that you seem to be talking about which can have any address other then "127.*" net. I was looking for a programming solution on all WIndows platforms e.g. XP/2000, 2003, 2008/Vista. Now i have found the solution, which is to enumerate the local interfaces using WSAIoctl() and checking for loopback net with flag IFF_LOOPBACK for the loopback interface. Thanks again for your help. Best Regards. Gajendra Sharma

          Gajendra

          L 1 Reply Last reply
          0
          • N Nickolay Karnaukhov

            Have any Indian developer formed his question well? Good answer is Google :-) However - your will to help deserves respect!

            ------------------------------------------------------------ Want to be happy - do what you like!

            G Offline
            G Offline
            Gajendra Sharma
            wrote on last edited by
            #5

            Hello Mr. Nickolay Karnaukhov, Thanks for your reply. Unlike you,I refrain from blaming your community/nationality for poking your nose to make un-welcome comments about Indian developers and the not so polite attitude displayed in your mail-as i dont believe in such notions. I am sure that you didn't have any idea of what i was talking about in my post and didn't have anything to help. Like it or not, there are millions of Indian developers across the globe and across the industries whom people like you can seek inspiration from. I am an ordinary developer though who seeks to find answer to my small queries in places like codeproject where some wise and level headed people devote their time to spread knowledge and help lesser mortals like me. Thanks and Best regards. Gajendra Sharma

            Gajendra

            N 1 Reply Last reply
            0
            • G Gajendra Sharma

              David, Thanks for your answer and quick and valuable help. I am not asking about loopback adapter that is optionally installed and does not come with Windows. The Microsoft Loopback Adapter is an optional interface you can install, not a standard part of the OS, and, even *without* that adapter installed, you can send IP packets from the machine to its own IP address, or to 127.0.0.1 (the loopback address), and have them be received by the machine.I assume that the purpose of the Microsoft Loopback Adapter is to deal with cases where you *do* want a network adapter for testing purposes (so that what I presume is internal looping-back by the networking stack isn't sufficient), or where you need a network address other than one that belongs to a real network adapter and other than the 127.0.0.1 (or other loopback network) address. Thus the loopback address i am talking about is different then the loopback adapter that you seem to be talking about which can have any address other then "127.*" net. I was looking for a programming solution on all WIndows platforms e.g. XP/2000, 2003, 2008/Vista. Now i have found the solution, which is to enumerate the local interfaces using WSAIoctl() and checking for loopback net with flag IFF_LOOPBACK for the loopback interface. Thanks again for your help. Best Regards. Gajendra Sharma

              Gajendra

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

              Hi Gajendra, I am happy that you found a solution to your problem. When I asked for clarification regarding your question it was because I was prepared to give you a software engineering answer. However because the question was asked in the System Admin forum I was not sure if you wanted a progmatic solution or a command-line tool. The solution you have found using the IFF_LOOPBACK bitmask will only tell you if the address is in the 127 subnet. This might be exactly what you are looking for. However if you also wanted to enumerate loopback adaptors you could use the IP Helper library. These functions could be modified to enumerate loopback interfaces: http://www.codeproject.com/Messages/2850042/Re-configure-local-area-connection-properties-programatically.aspx[^] http://www.codeproject.com/Messages/2866112/Re-Hardware-info-about-the-network-controllers.aspx[^] Best Wishes, -David Delaune

              G 1 Reply Last reply
              0
              • G Gajendra Sharma

                Hello Mr. Nickolay Karnaukhov, Thanks for your reply. Unlike you,I refrain from blaming your community/nationality for poking your nose to make un-welcome comments about Indian developers and the not so polite attitude displayed in your mail-as i dont believe in such notions. I am sure that you didn't have any idea of what i was talking about in my post and didn't have anything to help. Like it or not, there are millions of Indian developers across the globe and across the industries whom people like you can seek inspiration from. I am an ordinary developer though who seeks to find answer to my small queries in places like codeproject where some wise and level headed people devote their time to spread knowledge and help lesser mortals like me. Thanks and Best regards. Gajendra Sharma

                Gajendra

                N Offline
                N Offline
                Nickolay Karnaukhov
                wrote on last edited by
                #7

                You're absolutely right! I'm not polite and should not be polite when someone ask dump and ugly formed questions. And you're absolutely right that millions of Indian developers work in different industries and countries but these 10 developers I knew and worked with during last years - were screwing up everything because of their mentality. "Why should I bother to make things better if I get paid for doing nothing special" What would you say on that? And sorry if I hurt someone's feeling but I'm honest and all described above is truth. P.S. I've spend many hours of work to debug, fix and finally complete one small project which was done by FIVE guys from Bangalor. That project took 6 month for them to make something that seems to be working however application wasn't completed. Customer was trying to make them fix it for next 6 month constantly paying them. But there was no luck. Then I got this project and finished it for one month, alone, at home, working for 2-3 hours per day. So what would I think about Indian programmers?

                ------------------------------------------------------------ Want to be happy - do what you like!

                G 1 Reply Last reply
                0
                • N Nickolay Karnaukhov

                  You're absolutely right! I'm not polite and should not be polite when someone ask dump and ugly formed questions. And you're absolutely right that millions of Indian developers work in different industries and countries but these 10 developers I knew and worked with during last years - were screwing up everything because of their mentality. "Why should I bother to make things better if I get paid for doing nothing special" What would you say on that? And sorry if I hurt someone's feeling but I'm honest and all described above is truth. P.S. I've spend many hours of work to debug, fix and finally complete one small project which was done by FIVE guys from Bangalor. That project took 6 month for them to make something that seems to be working however application wasn't completed. Customer was trying to make them fix it for next 6 month constantly paying them. But there was no luck. Then I got this project and finished it for one month, alone, at home, working for 2-3 hours per day. So what would I think about Indian programmers?

                  ------------------------------------------------------------ Want to be happy - do what you like!

                  G Offline
                  G Offline
                  Gajendra Sharma
                  wrote on last edited by
                  #8

                  May be you are right about the developers you are talking about. May be you are smarter and more talented and experienced then your fellow Indian colleagues or may be you are exceptionally talented. But, If you are saying/thinking that you have not found smarter people then you or if you are saying/thinking that you have never been proved dumb in your career by someone more experienced/talented/smart, then I know that you are lying big time. Nobody in this world is absolute smartest/most talented/ever intelligent. I am pretty much sure that there are dumb people in every society including Russia. If that was not the case, they would not keep the word "dumb" in many languages in many countries. So please do not categorize people based on nationalities. Moreover, There is no person in this world which hadn't have his moments of dumbness. Now to tell you the facts that there is highest percentage of Indian developers in organizations (e.g. NASA/Microsoft)that boast of having the smartest/talented people in the world. No every country has shown there share of dumbness/follies in their history including Russia/former Soviet Union, so dont blame India alone for dumbness detected in this world. As far as I am concerned, i do not have any problem if you think i am dumb. One should have the ability to ask the dumbest of questions if one needs to gain some knowledge.

                  Gajendra

                  1 Reply Last reply
                  0
                  • L Lost User

                    Hi Gajendra, I am happy that you found a solution to your problem. When I asked for clarification regarding your question it was because I was prepared to give you a software engineering answer. However because the question was asked in the System Admin forum I was not sure if you wanted a progmatic solution or a command-line tool. The solution you have found using the IFF_LOOPBACK bitmask will only tell you if the address is in the 127 subnet. This might be exactly what you are looking for. However if you also wanted to enumerate loopback adaptors you could use the IP Helper library. These functions could be modified to enumerate loopback interfaces: http://www.codeproject.com/Messages/2850042/Re-configure-local-area-connection-properties-programatically.aspx[^] http://www.codeproject.com/Messages/2866112/Re-Hardware-info-about-the-network-controllers.aspx[^] Best Wishes, -David Delaune

                    G Offline
                    G Offline
                    Gajendra Sharma
                    wrote on last edited by
                    #9

                    hello David, Thanks for your constructive suggestions. I will see how i can use the information provided. Thanks and Best regards. Gajendra Sharma

                    Gajendra

                    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