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. wininet.h and winsock.h

wininet.h and winsock.h

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 Posts 2 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.
  • A Offline
    A Offline
    amitmistry_petlad
    wrote on last edited by
    #1

    what are the basic functionality difference between this two header files??? can any one explain me in detail ??? Thanks in advance.

    "Success lies not in the result , But in the efforts !!!!!" Amit Mistry - petlad -Gujarat-India

    M 1 Reply Last reply
    0
    • A amitmistry_petlad

      what are the basic functionality difference between this two header files??? can any one explain me in detail ??? Thanks in advance.

      "Success lies not in the result , But in the efforts !!!!!" Amit Mistry - petlad -Gujarat-India

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      I don't know about detail, but ... wininet.h is the header file for the WinINet APIs: "The Windows Internet (WinINet) application programming interface (API) enables applications to interact with Gopher, FTP, and HTTP protocols to access Internet resources. " winsock.h is the header file for the Windows Sockets 2 APIs: "Windows Sockets 2 (Winsock) enables programmers to create advanced Internet, intranet, and other network-capable applications to transmit application data across the wire, independent of the network protocol being used." Mark

      "Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

      A 1 Reply Last reply
      0
      • M Mark Salsbery

        I don't know about detail, but ... wininet.h is the header file for the WinINet APIs: "The Windows Internet (WinINet) application programming interface (API) enables applications to interact with Gopher, FTP, and HTTP protocols to access Internet resources. " winsock.h is the header file for the Windows Sockets 2 APIs: "Windows Sockets 2 (Winsock) enables programmers to create advanced Internet, intranet, and other network-capable applications to transmit application data across the wire, independent of the network protocol being used." Mark

        "Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

        A Offline
        A Offline
        amitmistry_petlad
        wrote on last edited by
        #3

        can winsock do the functionality of WinINet?

        "Success lies not in the result , But in the efforts !!!!!" Amit Mistry - petlad -Gujarat-India

        M 1 Reply Last reply
        0
        • A amitmistry_petlad

          can winsock do the functionality of WinINet?

          "Success lies not in the result , But in the efforts !!!!!" Amit Mistry - petlad -Gujarat-India

          M Offline
          M Offline
          Mark Salsbery
          wrote on last edited by
          #4

          You could write your own FTP/HTTP/etc. code using Windows Sockets but you'd need to thoroughly understand those protocols. The idea of WinInet is to make that easier. WinInet is probably using sockets for its communication. Mark

          "Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

          A 1 Reply Last reply
          0
          • M Mark Salsbery

            You could write your own FTP/HTTP/etc. code using Windows Sockets but you'd need to thoroughly understand those protocols. The idea of WinInet is to make that easier. WinInet is probably using sockets for its communication. Mark

            "Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

            A Offline
            A Offline
            amitmistry_petlad
            wrote on last edited by
            #5

            Dear Mark, I really appreciate your response, can you provide me any example or link of winsock Which is used FTP/HTTP/GOPHER?. One thing more, Winsock used any default protocol ? Questions: 1) how the checksum play role in this socket programming.? 2) what is the difference between synchronous and asynchronous socket?

            "Success lies not in the result , But in the efforts !!!!!" Amit Mistry - petlad -Gujarat-India

            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