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. IsEnabled()

IsEnabled()

Scheduled Pinned Locked Moved C / C++ / MFC
help
5 Posts 4 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.
  • S Offline
    S Offline
    sudhir marni
    wrote on last edited by
    #1

    please help me to use IsEnabled() function where the port is enabled . suhdir m

    CPalliniC T 2 Replies Last reply
    0
    • S sudhir marni

      please help me to use IsEnabled() function where the port is enabled . suhdir m

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

      :confused:

      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.

      In testa che avete, signor di Ceprano?

      1 Reply Last reply
      0
      • S sudhir marni

        please help me to use IsEnabled() function where the port is enabled . suhdir m

        T Offline
        T Offline
        ThatsAlok
        wrote on last edited by
        #3

        sudhir.marni wrote:

        lease help me to use IsEnabled() function where the port is enabled .

        are you using any Custom Class!

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and you

        S 1 Reply Last reply
        0
        • T ThatsAlok

          sudhir.marni wrote:

          lease help me to use IsEnabled() function where the port is enabled .

          are you using any Custom Class!

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and you

          S Offline
          S Offline
          sudhir marni
          wrote on last edited by
          #4

          Thanks for u r reply ThatsAlok Here iam not using any custom class,here my requirement is to find out whether the service of particular port is available or not.Is there any solution for this. Thank u

          R 1 Reply Last reply
          0
          • S sudhir marni

            Thanks for u r reply ThatsAlok Here iam not using any custom class,here my requirement is to find out whether the service of particular port is available or not.Is there any solution for this. Thank u

            R Offline
            R Offline
            Roger Stoltz
            wrote on last edited by
            #5

            sudhir.marni wrote:

            to find out whether the service of particular port is available or not

            Well, that depends on what you mean. Let me make a couple of assumptions: - the port you're talking about is a port on a TCP connection - the service is something like a FTP-server or similar If you cannot sucessfully connect to the server socket you know that the port is unreachable and it's reasonable to assume the service to be down. If you're able to connect to the port of the server socket, then you have to use a suitable protocol for the service, such as HTTP, that will tell you whether the service is up'n'running or not. My point is that you need to know what protocol to use to be able to determine if the service is available or not. -- Roger


            "It's supposed to be hard, otherwise anybody could do it!" - selfquote

            "No one remembers a coward!" - Jan Elfström 1998
            "...but everyone remembers an idiot!" - my lawyer 2005 when heard of Jan's saying above

            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