Socket Programming Using Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2024
  • We have many machines and we have all nodes, it can be a server or a client
    it can be a client to client network, we all this node talking to each other, Basically it is pair to pair network. In this video we will understand base of the internet or network, Which is socket.
    And we have to understand two concept first one is Port numbers and second one is type of connection going to build. We will talk about TCP(Transmission Control Protocol) & UDP( User Datagram Protocol). Tcp is connection oriented network, Udp is Connection less network.
    Support by
    becoming a Member : / @telusko
    Instamojo (India) : www.instamojo....
    Paypal : www.paypal.me/...
    UPI : navinreddy20@okicici
    BlockChain Full Course : courses.telusk...
    Spring Full Course : courses.telusk...
    Spring Full Course (UDEMY) : www.udemy.com/...
    Python Full Course (UDEMY) : shorturl.at/EPXZ9
    Angular Full Course : courses.telusk...
    Rest API in Spring Boot : goo.gl/5Wgsk6
    Restful Web Services Tutorial : goo.gl/3mosnz
    Spring Boot Tutorials : goo.gl/7894NE
    Editing Monitors :
    amzn.to/2RfKWgL
    amzn.to/2Q665JW
    amzn.to/2OUP21a.
    Editing Laptop :
    ASUS ROG Strix - (new version) amzn.to/2RhumwO
    Asus vivoBook :amzn.to/2wS0Hpt
    Camera : amzn.to/2OR56AV
    lens : amzn.to/2JihtQo
    Mics
    amzn.to/2RlIe9F
    amzn.to/2yDkx5F
    amzn.to/2WYqLde
    Check out our website: courses.telusko...
    Follow Telusko on Twitter: / navinreddy20
    Follow on Facebook:
    Telusko : / teluskolearnings
    Navin Reddy : / navintelusko
    Follow Navin Reddy on Instagram: / navinreddy20
    Follow Telusko Official Page : / telusko_edutech
    Subscribe to our other channel:
    Navin Reddy : / @navinreddy
    Telusko Hindi :
    / @teluskohindi
    Subscribe to the channel and learn Programming in easy way.
    BlockChain Tutorial : bit.ly/2IyH8EJ
    Hyperledger Fabric : shorturl.at/ekmCJ
    Golang Tutorial : shorturl.at/ksvMP
    Servlet JSP tutorial playlist : goo.gl/y1kvwc
    Java Tutorial : goo.gl/p10QfB
    Kotlin Tutorial : goo.gl/JedEzX
    Scala Tutorials for Java Developers : goo.gl/8H1aE5
    C Tutorial Playlist : goo.gl/8v92pu
    Android Tutorial : goo.gl/MzlIUJ
    XML Tutorial : goo.gl/Eo79do
    Design Patterns in Java : goo.gl/Kd2MWE
    Socket Programming in Java : goo.gl/jlMEbg
    Spring MVC Tutorial : goo.gl/9ubbG2
    OpenShift Tutorial for Beginners : goo.gl/s58BQH
    Spring Framework with Maven : goo.gl/MaEluO
    Sql Tutorial for Beginners : goo.gl/x3PrTg
    String Handling in Java : goo.gl/zUdPwa
    Array in Java : goo.gl/uXTaUy
    Java Servlet : goo.gl/R5nHp8
    Exception Handling in Java : goo.gl/N4NbAW

ความคิดเห็น • 360

  • @1Tbiribiri
    @1Tbiribiri 3 ปีที่แล้ว +83

    This dude not only is excited to teach but makes me wanna learn too

    • @KeremAli-cm3pj
      @KeremAli-cm3pj 2 หลายเดือนก่อน

      bro
      your, um, channel is weird...

  • @vebexplaeya
    @vebexplaeya 4 ปีที่แล้ว +63

    Thank you So Much Sir for listening my request 😭😭

  • @harshabasavaraju4609
    @harshabasavaraju4609 4 ปีที่แล้ว +7

    I am happy that I learnt python before joining engineering and that to from a great teacher. god bless you and your family

  • @chaarumk
    @chaarumk 2 ปีที่แล้ว +14

    This is exactly what I was looking for! You never make me disappointed Navin. Cheers!

  • @jeffwads
    @jeffwads 3 ปีที่แล้ว +5

    This guy is simply the best teacher of python basics on YT. And that is saying a lot.

    • @mubashirjaved7017
      @mubashirjaved7017 5 หลายเดือนก่อน

      Who are more cute women or Cat?

  • @scotter
    @scotter 4 ปีที่แล้ว +21

    I love the way you break it down and make it so easy to understand and learn! Thank you!

  • @shreehari2589
    @shreehari2589 4 ปีที่แล้ว +16

    I've seen other tutorials on this, but none of explained it so awesome !!!, thank you sir, and also please make more videos like this!!!

  • @annettejohn6829
    @annettejohn6829 4 ปีที่แล้ว +5

    By far the best explanation of socket programming. thank you so much sir.

  • @connorplank2989
    @connorplank2989 3 ปีที่แล้ว +5

    Mr. Telusko! You’re an absolute king. You explained the bytes part so well!!! I didn’t understand why some of my messages weren’t printing when I tried to run my client side.

  • @pushkin2289
    @pushkin2289 4 ปีที่แล้ว +4

    This guy is amazing! I latterly didn't understand my professor in class explaining the same thing

  • @privacyorthodox3294
    @privacyorthodox3294 4 ปีที่แล้ว +1

    better than most who just start coding without explanation and tell this is this that etc
    great explanation

  • @naveenbhandari5097
    @naveenbhandari5097 6 หลายเดือนก่อน

    Hi Navin, Today I have completed your Python for beginners playlist here.
    I just want to say, Thank you for making such an amazing end-to-end series. Your way of teaching and explaining things is commendable.
    Since I am working on Python, but the clarity I got while learning from this channel is unforgettable. I just wanna be like you in my life.
    Once again thanks for making such a great impact on the lives of learners!
    May you achieve everything in life as you wish!!!

  • @amitjajoo9510
    @amitjajoo9510 4 ปีที่แล้ว +34

    Sir pls make more video on socket programming

  • @sachinacharya9434
    @sachinacharya9434 4 ปีที่แล้ว +9

    Thank you sir for explaining python in an amazing way 😊

  • @SameerShaikh-wv1qp
    @SameerShaikh-wv1qp 4 ปีที่แล้ว +2

    Lage Rahe Navin Reddy BHAI (@Telusko). May ur entire team succeed to INFINITY level. AAMEEN

  • @MacN_
    @MacN_ ปีที่แล้ว

    Just finished the tutorial, I appreciate how you explained the details for the lines of code. Currently waiting for hardware to test on another machine. Cool video, thank you MacN

  • @pankajjaiswal8790
    @pankajjaiswal8790 4 ปีที่แล้ว +9

    Thank you 😊 sir for teaching us python in very simple way,sir I like the way you teach but sir I request you to please make a detailed video on socket programming in python
    Plz sir

  • @selikiekone9975
    @selikiekone9975 3 ปีที่แล้ว +4

    Navin, you are a great lecturer, so good at it.
    Thanks!!

  • @anilqad
    @anilqad 4 ปีที่แล้ว +2

    Really i learn new concept from you sir., Thanks to Telusko Team.,

  • @Nachiket_upadhye_23
    @Nachiket_upadhye_23 3 ปีที่แล้ว +1

    Thank you for this, I had to transfer data from pie to computer and this had made the process so easy. more power to you.

  • @Joker4funify
    @Joker4funify 4 ปีที่แล้ว +5

    Nice tutorial ! I've already done this in Java , I had an assignment to do this. But its great to see you doing this:)

    • @duldularmar
      @duldularmar 3 ปีที่แล้ว +1

      Nice name

    • @Abon963
      @Abon963 ปีที่แล้ว +1

      Ayo your profile and username🤨

  • @divyaanshvats
    @divyaanshvats ปีที่แล้ว +1

    Sir it was very interesting to learn and the best part was how u simplified the topic.

  • @ashleshajagdale6593
    @ashleshajagdale6593 4 ปีที่แล้ว +2

    Thank you sir for such a helpful tutorials..i learned python from your python video series...its really nice..

  • @keyzuniverse
    @keyzuniverse 3 ปีที่แล้ว +1

    You doing the great job...you my best pythob teacher...

  • @startjourney8631
    @startjourney8631 4 ปีที่แล้ว +1

    Am so thankful to you sir,I really love your way of teaching/and your clean and clear delivery of concepts. /Love you sir🙏🤗I am going to access all your videos now,...and saying thanks to you is not enough for your this great effort, please keep it always sir....

    • @johnme60
      @johnme60 4 ปีที่แล้ว +1

      Bro I'm getting this error
      error: [Errno 10053] An established connection was aborted by the software in your host machine
      Can you help me?

  • @akashsivasubramanian4067
    @akashsivasubramanian4067 2 ปีที่แล้ว

    this is the best video of socket programming in python in the entire multiverse.

  • @HimanshuKumar-g6b
    @HimanshuKumar-g6b 2 วันที่ผ่านมา

    Explained really well , deserves 1000 likes.....❤❤❤

  • @dhwanipatel290
    @dhwanipatel290 4 ปีที่แล้ว +1

    Thank you sir...before this video I have seen 2 videos but the way you teach that's fab...Many thanks

    • @AI_CANISTER
      @AI_CANISTER 4 ปีที่แล้ว

      Yeah he is very good I've learn Oop in python from him... I'm now using oop to write codes

    • @johnme60
      @johnme60 4 ปีที่แล้ว

      hey dhwani ! can you help me plz?
      I am getting this error
      error: [Errno 10053] An established connection was aborted by the software in your host machine
      Connection is established But
      This isn't letting me send messages between client and server.

  • @sudharsankesavan1984
    @sudharsankesavan1984 2 ปีที่แล้ว

    Great work, I learned Python completely from you. Thanks allot. I guess you are from AP. Hands of to you from a Tamilan

  • @PritishMishra
    @PritishMishra 4 ปีที่แล้ว +6

    Who knows Navin Reddy sir and Codewithharry both Hit like.....

    • @paristar3079
      @paristar3079 4 ปีที่แล้ว

      I know code with Harry and telusko

    • @PritishMishra
      @PritishMishra 4 ปีที่แล้ว

      @@paristar3079 These two person are the only who are making programming easy

  • @rushikeshmahajan3481
    @rushikeshmahajan3481 4 ปีที่แล้ว +1

    Sir your teaching level is unreachable 💯💯🔥

  • @krishnatejadevarapalem5808
    @krishnatejadevarapalem5808 4 ปีที่แล้ว +8

    that was great explanation i love it!! sir...

    • @hypython9190
      @hypython9190 3 ปีที่แล้ว

      Do you know well socket programming?

  • @aquibshaikh8611
    @aquibshaikh8611 4 ปีที่แล้ว +1

    wow... Sir this was really great I would request you to please continue this client server programming, its really interesting.

  • @venyachandu6893
    @venyachandu6893 3 ปีที่แล้ว

    Bro..you are awesome. Have seen multiple videos on this concept but not able to understand. But you nailed it with very simple explanation. Thanks a lot

    • @mubashirjaved7017
      @mubashirjaved7017 5 หลายเดือนก่อน

      Cats are more cuter than women
      Proof me wrong

  • @santiagotorres6929
    @santiagotorres6929 4 ปีที่แล้ว +1

    I had been looking up for a good tutorial and i found this... thank you dude

  • @joja4323
    @joja4323 3 ปีที่แล้ว +1

    Thank you for keeping it simple and straight to the point.

  • @bhargavparatkar3094
    @bhargavparatkar3094 3 ปีที่แล้ว

    thanks sir for make me a programmer.now i can say confidently to me better programmer after watching A - Z all the video and i want spcially mention your java and python serise.i also introduce myself with verious technologies. and happy to inform you i am confident today on my resume and there mention technical skills. thank you !

    • @rajaranjith5151
      @rajaranjith5151 2 ปีที่แล้ว

      Hello Barghav, is this playlist is just combination of videos on topics in python or a proper full course on python?

  • @Bac2hack
    @Bac2hack 3 ปีที่แล้ว +2

    Your're already one of the best python gurus but,
    Im serius( "My request is that can convert your theme to Black" )
    It really hurts tooooooooooooooooo much

  • @radonspace2098
    @radonspace2098 ปีที่แล้ว

    The best tutorial on this topic by a country mile.

  • @brandonmohammed9092
    @brandonmohammed9092 4 ปีที่แล้ว +2

    This was refreshing to see, clear and alot of energy, it was seriously refreshing, Thank you sooo much for this

  • @tanaysamanta4730
    @tanaysamanta4730 3 ปีที่แล้ว

    We did in college the chat system using socket programming in Java... We configure a PC as server and rest of the PCs were client. It was lots of fun ;D

  • @Loving_Earth
    @Loving_Earth 10 หลายเดือนก่อน

    Thanks a lot , your videos helping me a lot in various languages

  • @Clash_royal_123
    @Clash_royal_123 ปีที่แล้ว

    thank you sir explaining the socket programming in such a easy way

  • @apoorv2498
    @apoorv2498 3 ปีที่แล้ว

    Loved it, Simple and explained in easy way...amazing.thanks bro 👍

  • @deepaktiwari7059
    @deepaktiwari7059 4 ปีที่แล้ว +2

    Thankyou so much sir for covering sockets 🙏💕

  • @preethamm.n1161
    @preethamm.n1161 4 ปีที่แล้ว +3

    🌹"Python makes life simple"🌹
    Awesome sir🌹
    Thank u 💞🌹🇮🇳🇮🇳

  • @manishstories2436
    @manishstories2436 3 ปีที่แล้ว

    Thanks a lot Navin for making the dreaded Socket easy

  • @Soumik1727
    @Soumik1727 หลายเดือนก่อน

    Thank you so much sir..for your quality lecture❤
    Please use any dark theme in the background ,that will good for us.

  • @ankitnsfw
    @ankitnsfw ปีที่แล้ว

    bro thanks for explaining it in such a great way

  • @k.2oop
    @k.2oop 2 ปีที่แล้ว

    The most simple socket tutorial
    Thank You Bro ❤

  • @bhaskarsyamal
    @bhaskarsyamal 4 ปีที่แล้ว +10

    Can we have part 2 of this? I feel like there's still more to cover.

  • @animepedia09
    @animepedia09 9 หลายเดือนก่อน

    Navin gaaru, we need a full playlist on this ❤

  • @lousingbamoirang7412
    @lousingbamoirang7412 4 ปีที่แล้ว +1

    I was think of it. And here it is. Thank you.

  • @_DheerajIPPILI
    @_DheerajIPPILI 4 ปีที่แล้ว +1

    sir i really like ur videos which u post in ur channel , but my request is can post more videos on socket programming..

  • @chiranjit9529
    @chiranjit9529 4 ปีที่แล้ว

    Hey Hackers!!
    This video is very important for you. By using the socket module you can build many hacking tools for testing the security of the network.
    ~~~Sir, U are just awesome~~~~

  • @Sarthak631
    @Sarthak631 3 ปีที่แล้ว +2

    I am a big fan of your Python series. I have watched all the videos in the series and I really loved it. I was wondering in order to create a chatbot between 2 machines, how do I send data of first client to the second client ? Like in this demo we sent messages from client to server and back to the same client right. So once I connect two different clients how do I send messages from 1st client to the 2nd client through the server. It will be great if you provide me with some info regarding this.

  • @hericpan5442
    @hericpan5442 4 ปีที่แล้ว

    Best socket tutorial for beginners ever!

  • @chimmi75
    @chimmi75 ปีที่แล้ว

    Fantastic explanation and very easy to follow - thank you

  • @yeerkals
    @yeerkals 4 ปีที่แล้ว

    best socket programming tutorial on yt

  • @waqasbhatti4478
    @waqasbhatti4478 4 ปีที่แล้ว

    sir i am waiting for a course on hadop or spark in java from you big fan of you and decided in to make a career in java and python only because of you

  • @abdusamadabdullakhanov518
    @abdusamadabdullakhanov518 2 ปีที่แล้ว

    Great, i am getting nearer and nearer to socket programming!

  • @gladnessmoshi4782
    @gladnessmoshi4782 ปีที่แล้ว

    Thank you for the lesson, it is very clear😊🙏

  • @williamostlind5810
    @williamostlind5810 3 ปีที่แล้ว

    best tutorial i,ve watched
    thank you SO much

  • @shaikelahi6848
    @shaikelahi6848 2 ปีที่แล้ว

    Love it! Still waiting for more... Wanna do that experiment with phone and laptop connecting to same wifi...please let me know if I require to know anything about the above mentioned

  • @TheUnofficialFIFA
    @TheUnofficialFIFA 2 ปีที่แล้ว +1

    Thank you sir, this tutorial was a 10/10
    +1 sub, +1 like

  • @aashishmalhotra
    @aashishmalhotra 2 ปีที่แล้ว

    Sir we want a video on pyspark you are so good in explaining.

  • @amanshutaklikar7435
    @amanshutaklikar7435 3 ปีที่แล้ว

    Best socket programing Tutorial 😉

  • @adityashankar9756
    @adityashankar9756 4 ปีที่แล้ว

    the only youtuber giving assignment to you

  • @kychemclass5850
    @kychemclass5850 ปีที่แล้ว

    Thanks again for yet another excellent tutorial.

  • @iamtheone_pratik
    @iamtheone_pratik ปีที่แล้ว

    Happy Teacher's Day, Navin Sir..

  • @yamansethi5311
    @yamansethi5311 4 ปีที่แล้ว +1

    Hello sir big fan of yours.. learning from your tutorials I have created a personal chatbox system but they are working only if the client and server on same IP addresses.. what can I do for connecting different ip address on Different network??

  • @arijitpaine2009
    @arijitpaine2009 3 ปีที่แล้ว +1

    thanks
    I will use the client program to perform ping od death attack 😁😊

  • @alicezhang7126
    @alicezhang7126 3 ปีที่แล้ว

    Thank you, this is very simple to understand.

  • @subashkhadka36
    @subashkhadka36 4 ปีที่แล้ว

    This series is awesome. If possible please make a video about sms programming using python.

  • @brinklebros7136
    @brinklebros7136 9 หลายเดือนก่อน

    you rock for making this video dude!

  • @im4science77
    @im4science77 3 ปีที่แล้ว +2

    Excellent tutorial! What if the server and client machines are on two separate LANs? How to connect them through internet?

  • @kebman
    @kebman 4 ปีที่แล้ว +1

    Basic but good. Thank you! I'd love a more advanced tut tho! Keep it up!

  • @Rahul-yg5kp
    @Rahul-yg5kp 3 ปีที่แล้ว

    Thankyou so much for this vedio sir. It would be great help if sir makes a vedio on how to reuse socket address in python

  • @explorerofinfinity722
    @explorerofinfinity722 2 ปีที่แล้ว

    Its really helpful.. Thanks.

  • @amaansiddiqui8947
    @amaansiddiqui8947 4 ปีที่แล้ว +1

    sir Please Make A complete series on socket programming

  • @Presenter-A
    @Presenter-A 2 ปีที่แล้ว +1

    From kenya I got you right

  • @neetusingh2203
    @neetusingh2203 4 ปีที่แล้ว +1

    First of all, I really like your vids and thanks for such a great @t query : If the client is connected to a different wifi network (i.e, not on the wifi network on which the server is connected), will it connect to the @t short, how can any client in the world connect to the server?

    • @johnme60
      @johnme60 4 ปีที่แล้ว

      for this , Both client and the server needs to be connected to a server on the web.
      Like any website which is hosting this communication.
      "Most of the chatting apps works this way"

  • @aliasghar3840
    @aliasghar3840 3 ปีที่แล้ว +1

    thanku sir ,great presentation of websockets
    can you please tell me how to create a websocket server and client in django????
    thanks

  • @TasneemMuneeraProttyasha
    @TasneemMuneeraProttyasha 2 ปีที่แล้ว

    Best video for learning

  • @ITechniques
    @ITechniques 4 ปีที่แล้ว +2

    What is utf-8

  • @saurabhshukla7344
    @saurabhshukla7344 4 ปีที่แล้ว +2

    Amzing sir

  • @NotMarkKnopfler
    @NotMarkKnopfler 3 ปีที่แล้ว

    Top tip for video makers: If your audience doesn't know what a client and a server is, then they shouldn't be watching a video on sockets. Some great information in this video, and very well presented. However (in my opinion) the first five minutes was simply unnecessary. Regards.

  • @adonis9555
    @adonis9555 2 ปีที่แล้ว

    for some reason i had to put the IP address of the server itself in place of localhost, idk why but it works now

  • @harshithtunuguntla1861
    @harshithtunuguntla1861 3 ปีที่แล้ว +1

    Loved itttt !!!!!!!!!

  • @D4rkH4ck3r5
    @D4rkH4ck3r5 4 ปีที่แล้ว

    finally something got understandable

  • @infiniteesh
    @infiniteesh 4 ปีที่แล้ว +9

    I am getting an error it says :
    Connectionrefusederror : no connection would be made because the target machine actively refused it

    • @manisaibalakesarla3296
      @manisaibalakesarla3296 4 ปีที่แล้ว +1

      Try running server first and this will be avoided

    • @yashasvibhatt1951
      @yashasvibhatt1951 4 ปีที่แล้ว +2

      this problem is due to the windows, windows is not somehow allowing you to make connection, i have the same problem but in my case it says that """""An established connection was aborted by the software in your host machine""""", and i looked for all the possible websites for solution but didn't find one, if you are having the same problem and got a solution then please help me!

    • @johnme60
      @johnme60 4 ปีที่แล้ว +1

      @@yashasvibhatt1951 did you find the solution sir? , Please tell me. Same is happening with me

    • @yashasvibhatt1951
      @yashasvibhatt1951 4 ปีที่แล้ว +1

      @@johnme60 nope i didn't get any possible solution

    • @johnme60
      @johnme60 4 ปีที่แล้ว +2

      @@yashasvibhatt1951 Actually I got the solution just after asking you .
      The problem was
      "Server wasn't receiving the message sent by client."
      So before sending to client 'welcome to my server'
      I defined recv() function.
      So first it received the name sent by client and then sent the welcome message to client by defining send function after recv() function.
      I guess it will help others also.

  • @srujangowda8490
    @srujangowda8490 4 ปีที่แล้ว

    This is how u teach complicated stuff easily 🙌😎💙

  • @keyzuniverse
    @keyzuniverse 3 ปีที่แล้ว +1

    I real appriciate you sir..

  • @mohammedsiddig7975
    @mohammedsiddig7975 3 ปีที่แล้ว

    thanks a lot it is really helped me and saved time

  • @KIRIKTECH
    @KIRIKTECH 4 ปีที่แล้ว

    super sir..❤️ tq for this video

  • @amponsahhubert4884
    @amponsahhubert4884 2 ปีที่แล้ว

    You are amazing sir.

  • @siddharthmanoj3735
    @siddharthmanoj3735 3 ปีที่แล้ว

    very nice sir, well explained

  • @saikiran-kz7vn
    @saikiran-kz7vn 4 ปีที่แล้ว +1

    My doubt is instead of writing a code for client can we use different devices (like mobile,tablet and etc) as client in local network using private IP address of the server

  • @akaaljotsingh1140
    @akaaljotsingh1140 4 ปีที่แล้ว +1

    Sir it is connecting devices that are on same network but i am unable to connect devices over different network. I have tried using both public IP and local IP. So can you help me out sir?

  • @belgianheskey
    @belgianheskey 2 ปีที่แล้ว

    God bless this man