P2P Connection in C#


Joined
Jan 27, 2022
Messages
1
Reaction score
0
Hey,

I was wondering how would you make a p2p connection between 2 different computers?
I would want the first pc to have the ability to move the second pc's form app window using UDP.

To define this better, for example, being able to send a messagebox from first pc to the second pc.

I want this to work across the internet (not only local network)
 
Ad

Advertisements

Joined
Mar 3, 2021
Messages
243
Reaction score
31
The UdpClient class acts as a UDP client and server. To push messages across the Internet, you'll need to open a port through the server's firewall (port forwarding). Beyond that, it's just standard message parsing, with the standard UDP disclaimer that it doesn't handle dropped messages, messages out of order, etc, etc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top