Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I made an application for remote control a pc specifically for control the strategy game Age of Empires 3 (so I can control two civs using one pc). The application uses UDP protocol to send the captured image (I inject a dll to the age3.exe proccess and I hook the DirectX EndScene function so every time the game render the application captures the image and sends it). For sound the application uses loopback recording and send it using UDP protocol too. For each image the application sends approximately 80000 bytes each time and for sound 7000 bytes. The application uses TCP protocol for communicating when I use keyboard or mouse. Every time I move the mouse or press a key the application sends 12 bytes with information. The application apparently works ok (I test it running the application for short time and when I considered that the application was almost ready I test it playing two games 2 vs 2 computer players). But recently I am experiencing Internet problems (very slow downloads, very slow navigation, ...). I restarted the pcs and the modem but the same problem. I tried using a notebook with same results. I changed the modem. I communicated with my ISP but they could not solve the problem yet. So my question is: Could my application cause all my problems?
Posted
Comments
Suvabrata Roy 30-Nov-14 23:55pm    
Why you using TCP and UDP you can only use TCP to communicate.

A basic description of TCP and UDP : http://www.diffen.com/difference/TCP_vs_UDP

1 solution

Can it cause your hardware to fail? Nope.

This sounds like an ISP problem or at most bad hardware and it's just a coincidence that your app happens to be running.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900