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. Design issue: Sending recordset to the client

Design issue: Sending recordset to the client

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++databasedesignsysadmin
3 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.
  • J Offline
    J Offline
    justin223
    wrote on last edited by
    #1

    Hello Im developing a client/server solution and I want to send a database recordset from the server to the client? What is the best way to do it? (The server is using iocp, mfc and odbc)

    L 1 Reply Last reply
    0
    • J justin223

      Hello Im developing a client/server solution and I want to send a database recordset from the server to the client? What is the best way to do it? (The server is using iocp, mfc and odbc)

      L Offline
      L Offline
      Le centriste
      wrote on last edited by
      #2

      How are the client and server communicating? If I were you, I would use HTTP[S] and XML. Just transform your recordset to XML. Michel It is a lovely language, but it takes a very long time to say anything in it, because we do not say anything in it, unless it is worth taking a very long time to say, and to listen to.
      - TreeBeard

      J 1 Reply Last reply
      0
      • L Le centriste

        How are the client and server communicating? If I were you, I would use HTTP[S] and XML. Just transform your recordset to XML. Michel It is a lovely language, but it takes a very long time to say anything in it, because we do not say anything in it, unless it is worth taking a very long time to say, and to listen to.
        - TreeBeard

        J Offline
        J Offline
        justin223
        wrote on last edited by
        #3

        Isnt it a quite large overhead for using xml? (in unmanaged c++)? :confused: Transfering data (records) is not the only thing that my server does, so webservices isnt the thing for me. The server talks to a PABX (phone switch), monitors corporation extensions, communicates with the voicemail system etc etc. Transferring data is the smallest part =) XML sounds nice, but the server will handle a lot of connections and will be in the same machine as 4 other server proccesses, so it cant to much cputime.

        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