How to fetch HTML?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Xasulrev
    New Member
    • Dec 2008
    • 1

    How to fetch HTML?

    How to Fetch HTML (web pages) in C or C++ without libcurl
    Should be happy if you posted a Example Code too. os = Win32
  • RedSon
    Recognized Expert Expert
    • Jan 2007
    • 4980

    #2
    We don't do your work for you. What have you tried/done/searched for?

    Comment

    • manontheedge
      New Member
      • Oct 2006
      • 175

      #3
      sockets ... there's information about them all over the internet

      Comment

      • george666
        New Member
        • Jul 2008
        • 28

        #4
        You don't need sockets.
        If it's on Win32, you can do it easily with Win32 api
        You can ask on specialized Win32 api newsgroup :
        news://comp.os.ms-windows.programmer.win32
        to get the various methods..

        Comment

        • Banfa
          Recognized Expert Expert
          • Feb 2006
          • 9067

          #5
          george666,

          This is not helpful, this is just contradiction and telling the user to ask someone else. If you have information on a method to use to solve the OPs problem then please share it but telling them to ask elsewhere is not helpful.

          I note that you have had a friendly warning about this sort of behaviour before therefore I am making this warning official. Continuing to ignore our warnings about this behaviour is now likely to lead to a ban on your account.

          Banfa
          Administrator

          Comment

          • Banfa
            Recognized Expert Expert
            • Feb 2006
            • 9067

            #6
            Xasulrev,

            you could open a socket to the server you wish to retrieve information about and them use HTTP (it's a very simple protocol) to retrieve the required web-page.

            Internet socket - Wikipedia, the free encyclopedia
            Hypertext Transfer Protocol - Wikipedia, the free encyclopedia

            Comment

            Working...