Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 606841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:17:49+00:00 2026-05-13T17:17:49+00:00

I am developing a program which sends images from one computer to another (similar

  • 0

I am developing a program which sends images from one computer to another (similar to remote assistance without mouse/keyboard input). The two computers I use to test this are one Windows XP machine and one Windows Vista. I have the stationary XP machine directly connected to a router, and a laptop which is connected through wireless.

The transmission from XP to Vista works great, I am able to get a constant flow of images that are displayed on Vista. However, when I flip it and send images from Vista to XP it does not work. I also tried a local "copy", that is, without the network get a flow of images and this works on Vista as well as XP. It is the exact same program on both machines.

I don’t think it matters but I am using GDI+ for the images. So I send a .jpg through a stream on the network and rebuild it on the other side.

My Network Message class is called NetMsg. it consists of a char* type and a char* data. the types determine how I interpret the data, no issues here.
Let’s call the computers #1 and #2.
When connection is created and I marked the area on #1 that I want to send:
001>#1 sends type RESIZE // to get the window on #2 the same size as the area I have marked on #1
002>#1 sends type PICTURE_DATA // this is the actual imagedata
003>#2 after received the two above messages, sends type REQUEST_MORE // #2 wants more imagedata
004>#go to step 1

I haven’t even bothered to debug it when sending image data from XP to Vista, since it works great, exactly like I want it. However when Vista sends to XP I have noticed the following:

  • Data received can actually be two NetMsgs. I have support for this by splitting the data into several NetMsgs
  • Data received can be incomplete, that is I have to wait for more data. I have support for this by marking a NetMsg as incomplete and on the next datatransmission complete it. (as well as a combination of the first step)

This almost did the trick because I got some images transferred correctly, however then it suddenly stopped. I have not debugged this thoroughly so I do not know why the data suddently stopped.. However:

What I do not understand is that this works great when sending from XP to Vista but not the other way around. What am I missing?

Do let me know if you need extracts of code, however, it is pretty huge… roughly 500 rows.. Otherwise I am looking for known issues when sending data from Vista to XP.

Any help and/or feedback appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T17:17:49+00:00Added an answer on May 13, 2026 at 5:17 pm

    It was actually blocking on both computers and both were waiting for the other to respond.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 401k
  • Answers 401k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The reason it's done as a single view method is… May 15, 2026 at 4:41 am
  • Editorial Team
    Editorial Team added an answer I would look at creating a ViewModel per each MVC… May 15, 2026 at 4:41 am
  • Editorial Team
    Editorial Team added an answer May this could work : <script type="text/javascript"> var nbChildren =… May 15, 2026 at 4:41 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.