Python Sockets Simply Explained

  Рет қаралды 168,779

NeuralNine

NeuralNine

Күн бұрын

Пікірлер: 184
@robinranabhat3125
@robinranabhat3125 2 жыл бұрын
ohh my god . the clarity. the depth you go through. this guy knows what he is talking about. unlike 100 other socket programming videos.
@Jonathan-ru9zl
@Jonathan-ru9zl 2 жыл бұрын
I love that it is one long Continuous video instead of edited segments
@dakzter1
@dakzter1 2 жыл бұрын
Dude, cannot thank you enough for this. I read up on sockets but the language confused me. You explained the fundamentals in a way that is very newbie friendly. Defa subbing.
@michaelswahla4927
@michaelswahla4927 2 жыл бұрын
finally someone who doesnt talk bullshit and explains what sockets really are and how we can use them. i dont give a like on most vids but urs defo deserves one! great job mate
@Glanmire3
@Glanmire3 Жыл бұрын
I suppose important to mention: both WAN and LAN addresses are usually dynamic assigned (the WAN address by the internet provider). So if you consider to assign a static LAN address on your own network the best practice at first to modify the LAN router's settings and reserve a range for fix IP addresses, otherwise there is a chance for an address duplication and in that case can happen intermittent connection failure/disconnection with the devices that has same address.
@dhanukaperera594
@dhanukaperera594 2 жыл бұрын
This was very well explained. Rather than just copying code, I actually understood what was going on.
@arab01001
@arab01001 4 ай бұрын
BEST socket explanation ever!
@إبراهيمالهلالي-ش7ش
@إبراهيمالهلالي-ش7ش Жыл бұрын
no single gap was left uncovered, great work ♥
@kavyabhatnagar716
@kavyabhatnagar716 2 жыл бұрын
You have made sockets so much easier to understand ❤
@yungmaz13
@yungmaz13 Жыл бұрын
This video is underrated, definitely deserves more likes
@rp9406
@rp9406 Жыл бұрын
Thanks for that wonderfull introduction to Client, Server, IP, etc.
@invinciblenoman
@invinciblenoman 3 жыл бұрын
this is the channel with which I grew in python. he taught me to use variables, functions, classes, and etc. alhumdulilah. jazak Allah bro
@BathingAfrican
@BathingAfrican 3 жыл бұрын
i don’t know what it is either lol i even think in python now because of him
@Djellowman
@Djellowman 3 жыл бұрын
Shalom hek mek shalom
@invinciblenoman
@invinciblenoman 3 жыл бұрын
@@Djellowman shalom bro
@Nxck2440
@Nxck2440 6 ай бұрын
I used sockets for the first time in a project recently. Thanks for the great tutorials!
@yehonatanyosef83
@yehonatanyosef83 2 жыл бұрын
Its actually the best simple and wide covered video of socket that i saw so far. Thank you very much!
@troyhackney148
@troyhackney148 6 ай бұрын
Neuralnine is one of my favorite channels. Thank you for your work!
@ch0wderz912
@ch0wderz912 2 жыл бұрын
I had to subbed because this was painted clarity, it's like i'm a kid holding my mum's hand to walk across the street. You helped a lot thanks good sire!!
@EfaGodspower
@EfaGodspower 11 ай бұрын
You the man. From Nigeria, learning a lot from you.
@centralcoding
@centralcoding Жыл бұрын
my first video to socket, very great and clear Thanks bro
@bassemgouty9840
@bassemgouty9840 3 жыл бұрын
always blessing us with quality tutorials keep it buddy !
@NeuralNine
@NeuralNine 3 жыл бұрын
thanks!
@14ftdude
@14ftdude 3 жыл бұрын
hi neuralnine love ur vids keep up the good work
@NeuralNine
@NeuralNine 3 жыл бұрын
thank you!
@awuyadaniel8982
@awuyadaniel8982 8 ай бұрын
No wayyyyy Thanks Man The clarity was wonderful Thank you
@thelover2392
@thelover2392 2 жыл бұрын
thank I was working on a project to connect my phone and my laptop, & ur video help me : ). thanks
@MajedSalmaoun
@MajedSalmaoun Жыл бұрын
the easier explain of sockets that i have ever seen ^^
@harshagnihotri9318
@harshagnihotri9318 2 жыл бұрын
u made it sound SOOOOO EASYYY. Thankyou
@АндрійКлюга
@АндрійКлюга 6 ай бұрын
This was extremely useful! Thanks a lot!
@pixelapse9613
@pixelapse9613 6 ай бұрын
3:04 But what about if i send some message from phone to the bluetooth module HC-05? Is it still going to server first?
@o1techacademy
@o1techacademy Жыл бұрын
Excellent video on socket. Thank you very much.
@nasserbenouara9354
@nasserbenouara9354 2 жыл бұрын
usually RRrarelly comment but for you : "Aawsome content" keep up bro
@barracudabarracuda7921
@barracudabarracuda7921 3 жыл бұрын
Hi.I've a simple challeng for u!Code a simple peer to peer file shareing program using socket.Great job
@RitikRaj-we2sc
@RitikRaj-we2sc 3 жыл бұрын
hey , i know how to send files to a client one at a time , but can we send multiple files parallely ??
@SHA-tw6dl
@SHA-tw6dl 3 жыл бұрын
@@RitikRaj-we2sc yes we can but there is no use for it
@RitikRaj-we2sc
@RitikRaj-we2sc 3 жыл бұрын
@@SHA-tw6dl it can be used to create file transfer application. It would be really good if you explain how to implement this, as i didn't find a single help on internet.
@bshsb3038
@bshsb3038 2 жыл бұрын
simply tell that you want to make such kind of program
@rajatdogra96
@rajatdogra96 10 ай бұрын
​@@bshsb3038Torrent duh 😂
@gbagba81
@gbagba81 2 жыл бұрын
dude I love so much when you speak this naturally. It'd crack me up laughting if you spoke when coding the same way when you're explaining theory. I mean it's great but I thought you were an AI until now XD. greetings thank you so much
@Tripster-GO
@Tripster-GO 3 жыл бұрын
Good tutorial, becoming my favorite 30min past time. Really appreciate your sharing 👏
@theFatMan5050
@theFatMan5050 Жыл бұрын
I understood everything in under an hour, you didn't leave any holes.
@yocf.22
@yocf.22 6 ай бұрын
Thanks for the good information , it really helped me out . Thank You !
@andrewens3337
@andrewens3337 8 ай бұрын
thanks for the great video
@aliyanpops6424
@aliyanpops6424 3 жыл бұрын
38:25 that confusion "Why is that?" got me : )
@HelenAI-z3s
@HelenAI-z3s 10 ай бұрын
Thank you for the tutorial, I was wondering to know how can I get as faster as you went typing codes. Any tips please
@karimk.434
@karimk.434 3 жыл бұрын
What software are you using to draw everything ?
@GHOST-fe3cu
@GHOST-fe3cu 3 жыл бұрын
yes, please, what are you using to write notes?
@gilmarjunio2815
@gilmarjunio2815 3 жыл бұрын
It seems like escalidraw
@1q1q1q1q1q1q1qw
@1q1q1q1q1q1q1qw 3 жыл бұрын
thank you for you good videos. Would you think it would be possible to run such an server on an raspberry. i wounder if it would be possible to steer an cnc machine this way. so that the server gets gcode and interprets them.
@HypeAdal
@HypeAdal 2 жыл бұрын
Ēr
@CheezePie
@CheezePie Жыл бұрын
Thank you so much! Because of you, I am able to understand how socket connections work
@Jonathan-ru9zl
@Jonathan-ru9zl 2 жыл бұрын
Continue with your professional channel 👋👍
@ethanpaus4148
@ethanpaus4148 Жыл бұрын
I like your explanation and quite easy to understand. I tried to learn socket on other websites but don't understand what they mean so I find it on KZbin and I found this amazing video. I found it, I watched it, I liked it and I subscribed it. Thank you!
@MostafaKhaled-uv7gq
@MostafaKhaled-uv7gq Жыл бұрын
Thank you man your explaining is fantastic and precise
@GuillermoGarcia75
@GuillermoGarcia75 Жыл бұрын
Great video! Right to de essentials!! Thx!
@centralcoding
@centralcoding Жыл бұрын
Which video do you recommend watch next???
@TyreseSavanhu
@TyreseSavanhu Жыл бұрын
class video, really helped me understand whats going on
@mohithadiyal6083
@mohithadiyal6083 Жыл бұрын
You got the best explanation 👍
@CAN_MIKE
@CAN_MIKE 3 жыл бұрын
If you will use an ESP32 to send sensor data over wifi, could I use sockets to retrieve the sensor data?
@alirezafazeli231
@alirezafazeli231 14 күн бұрын
GREAT video. thank you so much brother
@HariKrishnan-on1yf
@HariKrishnan-on1yf 3 жыл бұрын
Please make detailed video about proxy in python
@EfaGodspower
@EfaGodspower 11 ай бұрын
You the man. Learning a lot from you
@amazing-graceolutomilayo5041
@amazing-graceolutomilayo5041 3 жыл бұрын
Literally 1:23 into the video, I hit the sub button. To more videos🥂
@guydror7297
@guydror7297 2 жыл бұрын
Amazing tutorial!
@reviewer3448
@reviewer3448 Жыл бұрын
If I'm running a Virtual Machine and hosting on the same computer. Do I put the server script on my native operating system and the client on the virtual machine? I'm running kali on the virtual machine. Many thanks for your help.
@kaiohenrique8503
@kaiohenrique8503 3 жыл бұрын
It helped with my university semester project. Thanks!
@bangvu2127
@bangvu2127 8 ай бұрын
Thanks for your great explanation
@DxYPINS
@DxYPINS 2 жыл бұрын
how is the socket waiting for new connections ? don't we need to write a function so i can do that ?
@AbubakarMulla23
@AbubakarMulla23 3 жыл бұрын
Good explaination bro, Keep going like this... We are with you😇
@mike-nn1mq
@mike-nn1mq Жыл бұрын
bro you explain very good!
@trxiboy
@trxiboy Жыл бұрын
how would I connect sockets through the internet
@CodingG484
@CodingG484 5 ай бұрын
WHere is the send function defined?
@NeverSaid-
@NeverSaid- Жыл бұрын
So, how do you communicate the ips for the socket connection without a reverse shell. And if you need a RS why bother with the socket
@changningli4107
@changningli4107 2 жыл бұрын
Keep up the good work man!
@chandraagarwal9705
@chandraagarwal9705 Жыл бұрын
please also make a video on global socket connections
@murfoll__3074
@murfoll__3074 Жыл бұрын
Hey, NeuralNine I have tried running this code exactly as it is in the video, and I get the following error message when running the client.py file: TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. The code is exactly as it is in your video. What do you think is wrong here?
@rafy-ivanmorales3077
@rafy-ivanmorales3077 3 жыл бұрын
I'm a new student trying to learn, so I can become a programmer with python and I have a project on how to make a port scan. So far I already make a port scan with Python3, and it scans fine, give a date and everything working good so far. I see on your video tutorial, it is very good. I would like to ask for your advice if you can and guide me on how I will add this 3 in a Python script, I have: 2. System should look for all the ports between the range of 1 to 1025 3. If the Ports is open, it should create a file and add an entry for port number 4. In case of any exception for instance “host is not available”, “host name could not be resolved” or due to any other error, you need to write that exception into the same file. Thank you and Merry Christmas.
@anishbanerjee8342
@anishbanerjee8342 Жыл бұрын
There is a timeout error when I'm trying to have the client and server in different networks (I am using public ip address)
@21Mayhem
@21Mayhem 2 жыл бұрын
how can you make the client always up like always listening/waiting for messages from the server (i tried using while loops didn't work)
@deeparose2926
@deeparose2926 3 жыл бұрын
That's was very well explained...
@santanupathak3917
@santanupathak3917 Жыл бұрын
Thanks a lot....Such a good video!
@rishabhyadav9986
@rishabhyadav9986 3 жыл бұрын
You make it so simple thanks buddy!!
@EntrepreneurChips
@EntrepreneurChips Жыл бұрын
Thanks NeuralNine🥰
@נדבעמאר
@נדבעמאר Жыл бұрын
Wow You are the best! Thank you!🙏🏻
@MrFaustotromba
@MrFaustotromba 10 ай бұрын
thanks a lot!! You have helped me so much
@phosphophilytephos
@phosphophilytephos Жыл бұрын
Todo bonito y ya pero y como hago para que funcione en el internet?
@duongvuong8514
@duongvuong8514 2 жыл бұрын
have a good day! thank you for your tutorial, but I still have a few question, would it be okay to ask? I assume in this case if we attempted to use the same script in different device but same network, the script or the port wouldn't change and we should just leave it as is? Cause it work when the same script executed on 1 of my computer but when I started the client on another, it just timed out. Again, I really appreciate your tutorial, thank you!
@prodigyprogrammer3187
@prodigyprogrammer3187 2 жыл бұрын
But wouldnt the private Ip address change for each device so I think if you change the device make sure you change the IP address as well. I am not completely sure of this but I think that may be the issue
@stifenjans4342
@stifenjans4342 2 жыл бұрын
What if, i want it communicate through ssh tunnel, how should i do?
@Jonathan-ru9zl
@Jonathan-ru9zl 2 жыл бұрын
What IDE you are using?
@lilraddded8294
@lilraddded8294 Жыл бұрын
Visual Studio Code i
@lilraddded8294
@lilraddded8294 Жыл бұрын
Or pycharm xD
@Glanmire3
@Glanmire3 Жыл бұрын
He using PyCharm (Yellow/green square in the taskbar)
@codermomo1792
@codermomo1792 8 ай бұрын
thanks, I made a reverse shell after this
@ravisankarpidaparty336
@ravisankarpidaparty336 3 жыл бұрын
Do sockets require an internet connection?
@LukieHZX
@LukieHZX 3 жыл бұрын
No, but the client and the server have to be in the same WiFi-Network if you are not using port forwarding or software like ngrok.
@Me_tools
@Me_tools 3 жыл бұрын
for you : kzbin.info/www/bejne/qKqseKqPq7WIi80
@YouMustKnow987
@YouMustKnow987 3 жыл бұрын
I Like it!!! Congratulations Bro
@diegocassinera
@diegocassinera 2 жыл бұрын
How can tcp use less resources than udp, when tcp is built on top of udp ? More code layers = more system resources.
@issaclifts
@issaclifts 2 жыл бұрын
Really good tutorial thanks!
@val8801
@val8801 3 жыл бұрын
It helps me a lot thk bro and continue !! :)
@kanakdwivedi259
@kanakdwivedi259 10 ай бұрын
Soooooo GOOD . Amazing , I actually understand everything. WOW BRo More videos please. SUBBED
@ojaspatil2094
@ojaspatil2094 Жыл бұрын
thank you!!!
@MohamedAshraf-zs6nv
@MohamedAshraf-zs6nv 3 жыл бұрын
thanks, really helpful. you got new subscriber
@AfonsoP2001
@AfonsoP2001 2 жыл бұрын
thank you for the explanation
@midhunksadasivannair6011
@midhunksadasivannair6011 Жыл бұрын
Saved my week
@thepaulcraft957
@thepaulcraft957 3 жыл бұрын
Vielen dank für das Video, sehr hilfreich!
@laventesanderson3691
@laventesanderson3691 2 жыл бұрын
nice video thanks for the knowledge...
@revanthsompalli3713
@revanthsompalli3713 3 жыл бұрын
Awesome tutorial sir
@cwansu
@cwansu 3 жыл бұрын
Thank you 💘 very much for this details videos.🙏🙏 Keep smiling 😀
@kellybmackenzie
@kellybmackenzie Жыл бұрын
Thank you so much, you helped me so much!!
@jamescagney5314
@jamescagney5314 2 жыл бұрын
So well done! Thanks
@antonywmiller
@antonywmiller 2 жыл бұрын
Thanks for this!
@viswajithchembeti5946
@viswajithchembeti5946 2 жыл бұрын
can you make a notes for first 2 lessons and send them
@sz3066
@sz3066 3 жыл бұрын
Great Video !!!
@christianetis
@christianetis 3 жыл бұрын
great video, very well explained
@PD-qu8dq
@PD-qu8dq 2 жыл бұрын
Great Video
@ikki411
@ikki411 3 жыл бұрын
This video is great, thank you!
Coding A Simple Web Browser in Python
13:09
NeuralNine
Рет қаралды 97 М.
TCP vs UDP Sockets in Python
17:43
NeuralNine
Рет қаралды 32 М.
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН
Python Asynchronous Programming - AsyncIO & Async/Await
25:57
Tech With Tim
Рет қаралды 435 М.
Python Socket Programming Tutorial
49:43
Tech With Tim
Рет қаралды 1 МЛН
25 nooby Python habits you need to ditch
9:12
mCoding
Рет қаралды 1,8 МЛН
A Beginner's Guide to WebSockets
29:26
freeCodeCamp.org
Рет қаралды 331 М.
Coding Encrypted Chat in Python
20:33
NeuralNine
Рет қаралды 51 М.
Data Classes in Python Are The New Standard
20:34
NeuralNine
Рет қаралды 68 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 189 М.