UDP Peer-To-Peer Messaging With Python

preview_player
Показать описание
Part 2 is here for UDP p2p connections. In the first video I used netcat, in this video I'll use Python instead and streamline the connection process using a rendezvous server.

Hope you enjoyed the video!

Check out this code here:

Join my Discord server and come say hi:

Check out some code on my GitHub:

Send me a Gab:

Other Social:
Рекомендации по теме
Комментарии
Автор

fantastic bite sized and actually useful tutorials, love it man. keep these up!

G_O
Автор

Finally someone who can keep my attention by giving us the meat and potatoes of a subject. I enjoy these short version videos due to my attention span and how he can explain things in a way that's easy to digest. Super glad I found this channel.

davdiaz
Автор

lol this reminds me back in the xp days when we would send custom error boxes to computers in the computer lab

BrickTamlandOfficial
Автор

Learning python rn and u posted this, perfect timing.

corotoz
Автор

really great stuff, inspired me to take a look at stuff, tons of other connections you can make with socket library in python3.

Usertrappedindatabase
Автор

Could you make a video on what methods there are to find peers (Bittorrent DHT, Gnutella etc)

nexuz
Автор

Imagine going to school and actually learning this stuff, instead of reading about it

MR-ukiy
Автор

Now I know more about udp. Thank you for a short and to the point video!

hmauroy
Автор

A correction about how well supported this is. Depending on your network’s NAT port mapping implementation, it might be impossible for certain peers to establish a connection. However, you didn’t touch on the subject of NAT so I guess it is out of scope for this video.

grnis
Автор

Thank you so much for sharing!

I think it would be beneficial to know how to dockerised a peer to peer newtwork for local development. I'm currently trying to figure this out myself and it's not the most straight forward. I keep getting addresses already in use errors

MazJackson
Автор

Hi, good tutorial, but... it will not work when clients are behind firewall. You use static port 50002 to listen on and to send to. Behind firewall port number will change to random givet by router.

DanielM-uk
Автор

what if router assign different ports than 50001 and 50002. In my case this is happening and I am unable to recevie messages

ayazalavi
Автор

first i wanted to ask if this is really p2p by definition because of the server involved - then i watched your other video :D nice explanation even for total noobies like me :)

Egonk
Автор

I tried this code on github serveral times, I always get an error says adress already in use, how can I fix this???

pz_bowmaking
Автор

Peer discovery is way better with what UDP provides.

vladusa
Автор

I would like to see an update using encryption

dougphillips
Автор

epic tutorials, concise, to the point, love it.

mrbushido
Автор

thks for this nice video, is there a source code for the rendezvous server ?

ppacory
Автор

Is there much of a prereq required to learn Python? I understand it’s the “east” language to pick up, however I’ve already begun learning JavaScript and react for front end web dev, my reason for this is that I heard for the “better” Python jobs you really need a strong math background, which I do not have… however Python looks so nice I’m almost certain I’ll start learning it after I get a job with JavaScript as I’d like to eventually move into a back end position.

Adjust
Автор

I have a question sir, is required port forwarding or it work over the internet pls tell me..

PawitSahare
visit shbcf.ru