Python Sockets Simply Explained

Поділитися
Вставка
  • Опубліковано 21 гру 2024

КОМЕНТАРІ • 184

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

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

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

  • @dakzter1
    @dakzter1 2 роки тому +7

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

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

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

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

    You have made sockets so much easier to understand ❤

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

    BEST socket explanation ever!

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

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

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

    no single gap was left uncovered, great work ♥

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

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

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

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

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

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

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

    This video is underrated, definitely deserves more likes

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

    always blessing us with quality tutorials keep it buddy !

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

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

  • @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 10 місяців тому +1

      ​@@bshsb3038Torrent duh 😂

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

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

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

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

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

    No wayyyyy
    Thanks Man
    The clarity was wonderful
    Thank you

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

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

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

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

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

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

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

    u made it sound SOOOOO EASYYY. Thankyou

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

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

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

    It helped with my university semester project. Thanks!

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

    This was extremely useful! Thanks a lot!

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

    thanks for the great video

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

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

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

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

    Excellent video on socket. Thank you very much.

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

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

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

    Continue with your professional channel 👋👍

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

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

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

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

  • @alirezafazeli231
    @alirezafazeli231 11 днів тому

    GREAT video. thank you so much brother

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

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

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

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

    Thank you man your explaining is fantastic and precise

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

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

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

    You the man. Learning a lot from you

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

    thank you!!!

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

    class video, really helped me understand whats going on

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

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

    Please make detailed video about proxy in python

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

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

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

    Thanks for your great explanation

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

    Great video! Right to de essentials!! Thx!

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

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

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

    how would I connect sockets through the internet

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

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

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

    WHere is the send function defined?

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

    You got the best explanation 👍

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

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

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

    Todo bonito y ya pero y como hago para que funcione en el internet?

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

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

    What if, i want it communicate through ssh tunnel, how should i do?

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

    Amazing tutorial!

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

    Thanks NeuralNine🥰

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

    Wow You are the best!
    Thank you!🙏🏻

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

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

    Keep up the good work man!

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

    bro you explain very good!

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

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

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

    Saved my week

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

    That's was very well explained...

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

    You make it so simple thanks buddy!!

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

    What IDE you are using?

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

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

    thanks a lot!! You have helped me so much

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

    thanks, I made a reverse shell after this

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

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

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

    thank you for the explanation

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

    thanks, really helpful. you got new subscriber

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

    Thanks for this!

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

    I Like it!!! Congratulations Bro

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

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

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

    Vielen dank für das Video, sehr hilfreich!

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

    please also make a video on global socket connections

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

    Really good tutorial thanks!

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

    nice video thanks for the knowledge...

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

    Do sockets require an internet connection?

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

      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 : ua-cam.com/video/ryIGwYvPUUk/v-deo.html

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

    Great Video

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

    So well done! Thanks

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

    This video is great, thank you!

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

    can you make a notes for first 2 lessons and send them

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

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

    Awesome tutorial sir

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

    Great Video !!!

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

    Best Video!

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

    Thanx, it's much help