I use python and the socket library to allow communication between 2 PCs. In a local network, everything works perfectly! But now I'm looking to be able to communicate outside my local network... I've been looking on the internet and I've found explanations: you have to create a dmz on my router or do a port forwarding on my router, etc. I was wondering if there was an easier way than to modify my router and how did the instant messengers such as Signal, Skype work? Because for these applications I do not need to modify my router? Sorry for the mistakes, I don't speak English. Small precision I am only 15 years old please be indulgent. Thanks !
My goal here is to retrieve on pc#1 the keyboard keys that are pressed and transfer them to pc#2 with a latency really of the order of a few milliseconds only.