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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Heavy Duty Client/Server Application

Heavy Duty Client/Server Application

Scheduled Pinned Locked Moved C / C++ / MFC
sysadminjsonquestion
4 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.
  • M Offline
    M Offline
    Madhu_Rani
    wrote on last edited by
    #1

    Well, I developed a very basic client/server application by extracting knowledge from the article. http://69.10.233.10/KB/IP/serversocket.aspx[^] The application works fine when client/server exchanges text data (Hello, Hi etc of few bytes). But when server sends the image data (say a bmp of 3 MB). The send function sends data properly but on receiving side, the received bits are just 256. where the rest bits gone? How can we transfer image data (upto MB) through the client/server application? any idea

    L 1 Reply Last reply
    0
    • M Madhu_Rani

      Well, I developed a very basic client/server application by extracting knowledge from the article. http://69.10.233.10/KB/IP/serversocket.aspx[^] The application works fine when client/server exchanges text data (Hello, Hi etc of few bytes). But when server sends the image data (say a bmp of 3 MB). The send function sends data properly but on receiving side, the received bits are just 256. where the rest bits gone? How can we transfer image data (upto MB) through the client/server application? any idea

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Madhu_Rani wrote:

      How can we transfer image data (upto MB) through the client/server application? any id

      The article you referenced supports both TCP and UDP so which protocol did you choose? Best Wishes, -David Delaune

      M 1 Reply Last reply
      0
      • L Lost User

        Madhu_Rani wrote:

        How can we transfer image data (upto MB) through the client/server application? any id

        The article you referenced supports both TCP and UDP so which protocol did you choose? Best Wishes, -David Delaune

        M Offline
        M Offline
        Madhu_Rani
        wrote on last edited by
        #3

        TCP... but do you think it is protocol dependant?

        L 1 Reply Last reply
        0
        • M Madhu_Rani

          TCP... but do you think it is protocol dependant?

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Madhu_Rani wrote:

          TCP... but do you think it is protocol dependant?

          The reason I asked is because UDP does not guarantee data packet delivery. The first thing that came into my mind when you described packet loss was the UDP protocol. It looks like the author of the project is very active in his article message board so you may want to address him there. Best Wishes, -David Delaune

          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