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. Suggestion on C++

Suggestion on C++

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++csssysadminhosting
5 Posts 3 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.
  • U Offline
    U Offline
    User 10778952
    wrote on last edited by
    #1

    Hi Guys, I have a small problem i hope you guys can help. Actually i have an Win32 application which contacts to a cloud server and the communication between my client and server code is both the XML and json formats. But can u suggest me some other formats where size of my code should be less and communication should be fast and reliable. Any suggestions please. Thanks in advance.

    Michael HaephratiM J 2 Replies Last reply
    0
    • U User 10778952

      Hi Guys, I have a small problem i hope you guys can help. Actually i have an Win32 application which contacts to a cloud server and the communication between my client and server code is both the XML and json formats. But can u suggest me some other formats where size of my code should be less and communication should be fast and reliable. Any suggestions please. Thanks in advance.

      Michael HaephratiM Offline
      Michael HaephratiM Offline
      Michael Haephrati
      wrote on last edited by
      #2

      There is bson which is a binary json. Many software products use sqlite3 and sync it to their server. For example Skype. You can also create yourself a small TCP/IP based protocol.

      - Michael Haephrati מיכאל האפרתי

      U 1 Reply Last reply
      0
      • Michael HaephratiM Michael Haephrati

        There is bson which is a binary json. Many software products use sqlite3 and sync it to their server. For example Skype. You can also create yourself a small TCP/IP based protocol.

        - Michael Haephrati מיכאל האפרתי

        U Offline
        U Offline
        User 10778952
        wrote on last edited by
        #3

        Thanks Michael actually we are thinking of writing our own binary format will it be a good idea ?

        Michael HaephratiM 1 Reply Last reply
        0
        • U User 10778952

          Thanks Michael actually we are thinking of writing our own binary format will it be a good idea ?

          Michael HaephratiM Offline
          Michael HaephratiM Offline
          Michael Haephrati
          wrote on last edited by
          #4

          That seems to be the best idea but it is also important to structure the data properly and sdqlite3 can be great for doing so. You can ofcourse encrypt the sqlite3 database file then.

          - Michael Haephrati מיכאל האפרתי

          1 Reply Last reply
          0
          • U User 10778952

            Hi Guys, I have a small problem i hope you guys can help. Actually i have an Win32 application which contacts to a cloud server and the communication between my client and server code is both the XML and json formats. But can u suggest me some other formats where size of my code should be less and communication should be fast and reliable. Any suggestions please. Thanks in advance.

            J Offline
            J Offline
            jschell
            wrote on last edited by
            #5

            Member 10813090 wrote:

            where size of my code should be less and communication should be fast and reliable.

            And why is what you are currently doing a problem? Is there a measured bottleneck that you have determined is caused by your code?

            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