Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
Hello,

I'm making a remote desktop application (server, client and remote pc versions) but so far I'm making the server and client ones. I have 3 problems though:

* The client cannot send (+ the server receive) on port 55555 at the same time.
* When the client connects to the server, the client freezes for no reason.
* When the server detects that the client has connected, a listbox containing the connected clients does not update.

I've tried everything I can to get these problems sorted but I just can't. Please download the 2 attached projects (contains '.exe's) and hopefully you'll be able to see the problem straight away!

[^]

-Rixterz
Posted
Comments
Sergey Alexandrovich Kryukov 18-Sep-14 22:04pm    
Contains EXE's? Why? Sorry, but who would do it and take the risk? Including EXEs is a really bad thing. If someone wants to help, this person can always use just the source code.
—SA
Tino Fourie 23-Sep-14 2:34am    
Forgive my friend Sergey, he lacks a lot of diplomacy however it does not mean that I don't agree with what he wrote. PLEASE do not post EXE files as it puts us at risk since we do not know what your EXE's contain.

Post the code you use to "Wait" for a connection and the code you use to "Make" a connection. Alternatively you may want to post your source code.

In the mean time, have you tried using other ports ? Use Google to find a list of all Non-Reserved TCP ports and try some of them.
Is your Firewall allowing connections to the port you have selected ?
Are you using TCP or UDP connections - TCP is slower than UDP.

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