Python Sockets Simply Explained

Поділитися
Вставка
  • Опубліковано 4 лют 2025

КОМЕНТАРІ • 186

  • @robinranabhat3125
    @robinranabhat3125 2 роки тому +16

    ohh my god . the clarity. the depth you go through. this guy knows what he is talking about. unlike 100 other socket programming videos.

  • @michaelswahla4927
    @michaelswahla4927 2 роки тому +1

    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

  • @dakzter1
    @dakzter1 3 роки тому +8

    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.

  • @Jonathan-ru9zl
    @Jonathan-ru9zl 2 роки тому +2

    I love that it is one long Continuous video instead of edited segments

  • @dhanukaperera594
    @dhanukaperera594 2 роки тому +4

    This was very well explained. Rather than just copying code, I actually understood what was going on.

  • @invinciblenoman
    @invinciblenoman 3 роки тому +11

    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 роки тому +2

      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

  • @إبراهيمالهلالي-ش7ش

    no single gap was left uncovered, great work ♥

  • @yehonatanyosef83
    @yehonatanyosef83 3 роки тому +4

    Its actually the best simple and wide covered video of socket that i saw so far.
    Thank you very much!

  • @rp9406
    @rp9406 Рік тому +1

    Thanks for that wonderfull introduction to Client, Server, IP, etc.

  • @Nxck2440
    @Nxck2440 8 місяців тому

    I used sockets for the first time in a project recently. Thanks for the great tutorials!

  • @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!!

  • @arab01001
    @arab01001 6 місяців тому +2

    BEST socket explanation ever!

  • @kavyabhatnagar716
    @kavyabhatnagar716 3 роки тому +31

    You have made sockets so much easier to understand ❤

  • @troyhackney148
    @troyhackney148 8 місяців тому

    Neuralnine is one of my favorite channels. Thank you for your work!

  • @yungmaz13
    @yungmaz13 Рік тому

    This video is underrated, definitely deserves more likes

  • @EfaGodspower
    @EfaGodspower Рік тому

    You the man. From Nigeria, learning a lot from you.

  • @centralcoding
    @centralcoding Рік тому

    my first video to socket, very great and clear
    Thanks bro

  • @thelover2392
    @thelover2392 3 роки тому

    thank I was working on a project to connect my phone and my laptop, & ur video help me : ). thanks

  • @Glanmire3
    @Glanmire3 Рік тому +5

    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.

  • @bassemgouty9840
    @bassemgouty9840 3 роки тому +19

    always blessing us with quality tutorials keep it buddy !

  • @Tripster-GO
    @Tripster-GO 3 роки тому +5

    Good tutorial, becoming my favorite 30min past time. Really appreciate your sharing 👏

  • @awuyadaniel8982
    @awuyadaniel8982 9 місяців тому

    No wayyyyy
    Thanks Man
    The clarity was wonderful
    Thank you

  • @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 UA-cam and I found this amazing video. I found it, I watched it, I liked it and I subscribed it. Thank you!

  • @mr.gen-z7623
    @mr.gen-z7623 14 днів тому

    In depth video thank you NeuralNine

  • @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

  • @nasserbenouara9354
    @nasserbenouara9354 2 роки тому

    usually RRrarelly comment but for you : "Aawsome content" keep up bro

  • @harshagnihotri9318
    @harshagnihotri9318 2 роки тому

    u made it sound SOOOOO EASYYY. Thankyou

  • @yocf.22
    @yocf.22 7 місяців тому

    Thanks for the good information , it really helped me out . Thank You !

  • @АндрійКлюга
    @АндрійКлюга 7 місяців тому

    This was extremely useful! Thanks a lot!

  • @o1techacademy
    @o1techacademy Рік тому

    Excellent video on socket. Thank you very much.

  • @Jonathan-ru9zl
    @Jonathan-ru9zl 2 роки тому

    Continue with your professional channel 👋👍

  • @MajedSalmaoun
    @MajedSalmaoun Рік тому

    the easier explain of sockets that i have ever seen ^^

  • @amazing-graceolutomilayo5041
    @amazing-graceolutomilayo5041 3 роки тому

    Literally 1:23 into the video, I hit the sub button.
    To more videos🥂

  • @AbubakarMulla23
    @AbubakarMulla23 3 роки тому +3

    Good explaination bro,
    Keep going like this... We are with you😇

  • @MostafaKhaled-uv7gq
    @MostafaKhaled-uv7gq Рік тому

    Thank you man your explaining is fantastic and precise

  • @CheezePie
    @CheezePie 2 роки тому

    Thank you so much! Because of you, I am able to understand how socket connections work

  • @14ftdude
    @14ftdude 3 роки тому +2

    hi neuralnine love ur vids keep up the good work

  • @aliyanpops6424
    @aliyanpops6424 3 роки тому

    38:25 that confusion "Why is that?" got me : )

  • @theFatMan5050
    @theFatMan5050 Рік тому

    I understood everything in under an hour, you didn't leave any holes.

  • @TyreseSavanhu
    @TyreseSavanhu Рік тому

    class video, really helped me understand whats going on

  • @kaiohenrique8503
    @kaiohenrique8503 3 роки тому

    It helped with my university semester project. Thanks!

  • @EfaGodspower
    @EfaGodspower Рік тому

    You the man. Learning a lot from you

  • @alirezafazeli231
    @alirezafazeli231 Місяць тому

    GREAT video. thank you so much brother

  • @barracudabarracuda7921
    @barracudabarracuda7921 3 роки тому +19

    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 роки тому +2

      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 роки тому +2

      @@RitikRaj-we2sc yes we can but there is no use for it

    • @RitikRaj-we2sc
      @RitikRaj-we2sc 3 роки тому +1

      @@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 роки тому +1

      simply tell that you want to make such kind of program

    • @rajatdogra96
      @rajatdogra96 Рік тому +1

      ​@@bshsb3038Torrent duh 😂

  • @mohithadiyal6083
    @mohithadiyal6083 Рік тому

    You got the best explanation 👍

  • @GuillermoGarcia75
    @GuillermoGarcia75 Рік тому

    Great video! Right to de essentials!! Thx!

  • @kanakdwivedi259
    @kanakdwivedi259 11 місяців тому +1

    Soooooo GOOD . Amazing , I actually understand everything. WOW BRo More videos please. SUBBED

  • @cwansu
    @cwansu 3 роки тому +1

    Thank you 💘 very much for this details videos.🙏🙏 Keep smiling 😀

  • @bangvu2127
    @bangvu2127 9 місяців тому

    Thanks for your great explanation

  • @thiagosdev
    @thiagosdev 26 днів тому

    The client is the one who initiates the connection, and the server is the one who responds to it.

  • @andrewens3337
    @andrewens3337 9 місяців тому +1

    thanks for the great video

  • @נדבעמאר
    @נדבעמאר Рік тому

    Wow You are the best!
    Thank you!🙏🏻

  • @EntrepreneurChips
    @EntrepreneurChips Рік тому

    Thanks NeuralNine🥰

  • @mike-nn1mq
    @mike-nn1mq Рік тому

    bro you explain very good!

  • @rafy-ivanmorales3077
    @rafy-ivanmorales3077 3 роки тому +2

    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.

  • @HelenAI-z3s
    @HelenAI-z3s Рік тому

    Thank you for the tutorial, I was wondering to know how can I get as faster as you went typing codes. Any tips please

  • @midhunksadasivannair6011
    @midhunksadasivannair6011 Рік тому

    Saved my week

  • @guydror7297
    @guydror7297 2 роки тому +1

    Amazing tutorial!

  • @santanupathak3917
    @santanupathak3917 Рік тому

    Thanks a lot....Such a good video!

  • @rishabhyadav9986
    @rishabhyadav9986 3 роки тому

    You make it so simple thanks buddy!!

  • @MrFaustotromba
    @MrFaustotromba 11 місяців тому

    thanks a lot!! You have helped me so much

  • @changningli4107
    @changningli4107 3 роки тому

    Keep up the good work man!

  • @chandraagarwal9705
    @chandraagarwal9705 Рік тому

    please also make a video on global socket connections

  • @deeparose2926
    @deeparose2926 3 роки тому +1

    That's was very well explained...

  • @MohamedAshraf-zs6nv
    @MohamedAshraf-zs6nv 3 роки тому

    thanks, really helpful. you got new subscriber

  • @pixelapse9613
    @pixelapse9613 7 місяців тому

    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?

  • @AfonsoP2001
    @AfonsoP2001 2 роки тому

    thank you for the explanation

  • @thepaulcraft957
    @thepaulcraft957 3 роки тому

    Vielen dank für das Video, sehr hilfreich!

  • @HariKrishnan-on1yf
    @HariKrishnan-on1yf 3 роки тому +2

    Please make detailed video about proxy in python

  • @YouMustKnow987
    @YouMustKnow987 3 роки тому

    I Like it!!! Congratulations Bro

  • @val8801
    @val8801 3 роки тому +1

    It helps me a lot thk bro and continue !! :)

  • @antonywmiller
    @antonywmiller 2 роки тому

    Thanks for this!

  • @rafaykhanzada5606
    @rafaykhanzada5606 3 роки тому

    Amazing channel I learn alot this guy is super love u bro n last but not least can u please make video on deep speech recognition and Text to speech for AI assistant sounds like human.

  • @codermomo1792
    @codermomo1792 10 місяців тому

    thanks, I made a reverse shell after this

  • @issaclifts
    @issaclifts 2 роки тому

    Really good tutorial thanks!

  • @PD-qu8dq
    @PD-qu8dq 2 роки тому

    Great Video

  • @karimk.434
    @karimk.434 3 роки тому +5

    What software are you using to draw everything ?

    • @GHOST-fe3cu
      @GHOST-fe3cu 3 роки тому +1

      yes, please, what are you using to write notes?

    • @gilmarjunio2815
      @gilmarjunio2815 3 роки тому +1

      It seems like escalidraw

  • @kellybmackenzie
    @kellybmackenzie Рік тому

    Thank you so much, you helped me so much!!

  • @laventesanderson3691
    @laventesanderson3691 2 роки тому

    nice video thanks for the knowledge...

  • @vickylondon1543
    @vickylondon1543 2 роки тому

    dude tNice tutorials is super good! subbed

  • @revanthsompalli3713
    @revanthsompalli3713 3 роки тому

    Awesome tutorial sir

  • @CAN_MIKE
    @CAN_MIKE 3 роки тому +1

    If you will use an ESP32 to send sensor data over wifi, could I use sockets to retrieve the sensor data?

  • @jamescagney5314
    @jamescagney5314 2 роки тому

    So well done! Thanks

  • @ojaspatil2094
    @ojaspatil2094 Рік тому +1

    thank you!!!

  • @ikki411
    @ikki411 3 роки тому

    This video is great, thank you!

  • @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 роки тому +1

      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

  • @christianetis
    @christianetis 3 роки тому

    great video, very well explained

  • @reviewer3448
    @reviewer3448 2 роки тому

    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.

  • @1q1q1q1q1q1q1qw
    @1q1q1q1q1q1q1qw 3 роки тому +2

    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.

  • @asmodeus4310
    @asmodeus4310 3 роки тому

    Fitness teacher's back

  • @s.aravindh6227
    @s.aravindh6227 3 роки тому +1

    Nice video bro 👍👍👍👍👍

  • @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?

  • @federicobau8651
    @federicobau8651 2 роки тому

    Best Video!

  • @canadianbeast8671
    @canadianbeast8671 3 роки тому

    Thank you so much!

  • @stifenjans4342
    @stifenjans4342 2 роки тому

    Thanx, it's much help

  • @sz3066
    @sz3066 3 роки тому

    Great Video !!!

  • @DxYPINS
    @DxYPINS 3 роки тому

    how is the socket waiting for new connections ? don't we need to write a function so i can do that ?

  • @essyahgregory9342
    @essyahgregory9342 Рік тому

    well understood king py

  • @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

  • @CodingG484
    @CodingG484 7 місяців тому

    WHere is the send function defined?