What is an Internet Socket?

Sdílet
Vložit
  • čas přidán 27. 08. 2024

Komentáře • 131

  • @adampaulik1377
    @adampaulik1377 Před 8 lety +37

    123.52.412.2 ... 412 o.O :D

    • @dmitryart6360
      @dmitryart6360 Před 8 lety +2

      +Adam Paulík ip v12)) Very soon. Maybe in 2030))

    • @DaveXiang
      @DaveXiang  Před 8 lety +11

      +Adam Paulík If no one understand this comment, the max number should be 255. But I wasn't too careful when writing a fake IP address for some of the titles. It will never be 412.

    • @dmitryart6360
      @dmitryart6360 Před 8 lety +1

      Dave Xiang its okey, material is fine. Its comment for coffee break. We understood - if you know technologies, you are informed about correct ip levels))

    • @gjermundification
      @gjermundification Před 6 lety +1

      You're so 2^8

  • @shubhamagarwal6168
    @shubhamagarwal6168 Před 6 lety +34

    Hey, Please check the meaning of Full duplex. It means data can flow in both the directions "at the same time". Even in half duplex data can flow in both directions but only one direction at a time.

    • @yolomuffins1437
      @yolomuffins1437 Před 5 lety

      Thats what ports do huh?

    • @jeffreydijkstra3391
      @jeffreydijkstra3391 Před 3 lety

      @@yolomuffins1437 no its a definition.
      simplex means: data can flow in only one direction
      half duplex means: data can flow in both directions "but not at the same time"
      full duplex means: data can flow in both directions "at the same time"
      these definitions are used everywhere where data is being transfered.
      So from your pc to youtube, but also from a microcontroller connected to a sensor or a interface.
      Its just to understand how the data can/is being transferred.

  • @miikahirvasmaa2158
    @miikahirvasmaa2158 Před 8 lety +34

    I dunno how I found you, but I have been watching your videos last 3hours in a row :D Really good job, these videos are really good and helpful thanks! Keep goin!

    • @DaveXiang
      @DaveXiang  Před 8 lety +7

      +Miika Hirvasmaa Thanks! Haha that's a long time. =p

    • @randerins
      @randerins Před 7 lety +1

      I've done it for 5 hours straight today. Learning quite a bit :)

  • @vic9380
    @vic9380 Před 7 lety +2

    Fantastic explanation man! Exactly the type of teaching most students need: concepts reduced into very simple ideas/analogies.

  • @deveagle669
    @deveagle669 Před 7 lety +1

    Wow man, you have a gift for breaking things down so people can understand complex things. Thank you for this! Subscribed.

  • @direnb3401
    @direnb3401 Před 2 lety

    Well done dude. One of the best videos that explain the concept of sockets! Congratulations!

  • @JasonRichardTesch
    @JasonRichardTesch Před 8 lety +40

    I know what I'm going to do the next time I go out to the Ocean.

  • @qianbang_
    @qianbang_ Před 7 lety

    I love how you explain the very basic stuffs. Most people talk about something and use term while assuming people already know everything. It's annoying

  • @lake4590
    @lake4590 Před 5 lety +12

    "You probably go on CZcams for a few minutes ..." - Yeah, sure. Just a few minutes :D

  • @jacksond5289
    @jacksond5289 Před 2 lety

    Great video! It really saves my day. Keep it going Dave 💪🏻

  • @01ToWoT
    @01ToWoT Před 7 lety

    those finger gestures are self-explanatory when you watch it at 2x

  • @somdow
    @somdow Před 8 lety +3

    Very well made. Im not sure how i even ended up here but, i stayed and subbed.

  • @franejelavic
    @franejelavic Před 7 lety

    Great job, you are really concise and to the point.
    They say only when you can describe it simply you truly understand it.
    Thank you for this man, keep up the good work.

  • @chenbi5258
    @chenbi5258 Před 8 lety

    You are doing awesome video man, make sense to me a lot.

  • @abdulmoizsheikh8031
    @abdulmoizsheikh8031 Před 2 lety

    Good video! One confusion to clarify here is that a websocket is vastly different that an internet socket. A websocket is a protocol while an internet socket is a logical construct of ip + port number

  • @user-gu5ts5nx8r
    @user-gu5ts5nx8r Před 7 lety

    Amazing !
    Loved it.
    Before watching it, i really knew nothing about web socket conceptually but i'm now feeling great !
    Thank U.

  • @LayneSadler
    @LayneSadler Před 8 lety +4

    ephemeral port - new concept for me! nice!

  • @mikkeljrgensen3850
    @mikkeljrgensen3850 Před 6 lety

    3 things I really enjoy: Thorough yet simple explanations, Skateboard tshirts and 70'ies porn music in tutorials. Good job, man, knuckles! :D

  • @mztan
    @mztan Před 8 lety +20

    For you, I didn't even skip the ad :D

  • @anshumgoyal
    @anshumgoyal Před 7 lety

    short and complete overview. thanks!

  • @aqibmakandar9745
    @aqibmakandar9745 Před 7 lety

    thank you for explaining web-socket is simple way.

  • @renanschwyz
    @renanschwyz Před 5 lety

    Nowadays youtube uses the 443 port because of the HTTPS protocol, port 80 is for HTTP protocol

  • @roneisenstein5212
    @roneisenstein5212 Před 8 lety +1

    Please keep making videos! You so much fun to learn from.

  • @coldsummersky69
    @coldsummersky69 Před 6 lety

    Great high overview! Looking forward to more content

  • @smellthel
    @smellthel Před 3 lety +1

    But since the client socket is chosen randomly, could multiple websites randomly end up sending data through the same socket?

  • @davidjbergman
    @davidjbergman Před 7 lety

    Nice Video! Great info.

  • @naruto5437
    @naruto5437 Před 7 lety

    good video...explained in a very layman terms

  • @jessydadi9420
    @jessydadi9420 Před 5 lety

    Oh my god I loved that video! Simple but so informative 😍

  • @pbdeveloper9011
    @pbdeveloper9011 Před 7 lety

    What you're describing are TCP/UDP sockets. WebSocket is a protocol.

    • @DaveXiang
      @DaveXiang  Před 7 lety

      Yea, that's a good point. Not precise with the words here. Thanks.

  • @smellthel
    @smellthel Před 3 lety +1

    Thanks brother

  • @navanjanevidunuwan1244

    Great explanation this is the information I've been looking for a longtime Thank you!

  • @pearlv1760
    @pearlv1760 Před 2 lety

    Thank you so much. This video really helped me

  • @dharmendrabhojwani
    @dharmendrabhojwani Před 6 lety

    your explanation is very clear. Why don't you take some videos on designing the big system like how youtube, facebook, google docs are designed.

  • @deleater
    @deleater Před 7 lety

    Do you think one will need to learn full TCP/IP and WebSocket draft to fully inderstand the concept ?

  • @jesk8board
    @jesk8board Před 7 lety +4

    Great video! Thank you!

  • @jianishen5656
    @jianishen5656 Před 8 lety +1

    makes a lot of sense to me, thanks

  • @TheRoxas13th
    @TheRoxas13th Před 8 lety +4

    Is Websocket and socket the same thing?

  • @tom2877
    @tom2877 Před 2 lety

    nice job on this

  • @bossysmaxx3327
    @bossysmaxx3327 Před 5 lety

    I really loved the information you told us.

  • @Fazifs
    @Fazifs Před 7 lety

    Very well explained!

  • @SNSDFOREVERSONESEO
    @SNSDFOREVERSONESEO Před 8 lety

    when you're looking for a video on WebSockets but you end up watching an entire one on Web Sockets lmao

  • @fanrelena8788
    @fanrelena8788 Před 7 lety

    Very well explained. Love your videos. :)

  • @girlandhercomputer7204

    good work, thanks for the detailed explanation, good for a newbee

  • @user-eh5zk5bb9k
    @user-eh5zk5bb9k Před 3 lety

    awesome video!

  • @naheliegend5222
    @naheliegend5222 Před 4 lety

    And what is the difference between a web socket and a REST?

  • @kwakukusi8997
    @kwakukusi8997 Před 7 lety

    You are awesome , great explanation

  • @bibekkoirala2517
    @bibekkoirala2517 Před 4 lety

    Bro you da MVP

  • @earlholder5941
    @earlholder5941 Před 7 lety

    Very well explained!!!

  • @PHLYLM
    @PHLYLM Před 7 lety

    thank you so much for the simple explanation!

  • @theshreyansjain
    @theshreyansjain Před 8 lety

    Awesome!! subscribed! Thank you for explaining it so simply :)

  • @chasethosebluesaway
    @chasethosebluesaway Před 6 lety

    you really helped me, man. thank you.

  • @dzen1234
    @dzen1234 Před 7 lety +15

    3:35 123.52.412.2:1337 ) Ha ha ha :) 412 :)

    • @muhammadikhsan1219
      @muhammadikhsan1219 Před 7 lety

      Yeah, I think you are right, that IP address is impossible. It should be 255 max

  • @codingforcats8529
    @codingforcats8529 Před 7 lety

    very very good video!

  • @becool123sai
    @becool123sai Před 7 lety

    Great Video and nice explanation :)

  • @Utubeasiangirls
    @Utubeasiangirls Před 5 lety

    clear explaining thnx

  • @kevinmarmet
    @kevinmarmet Před 6 lety

    Great vid, well done

  • @yaghiyahbrenner8902
    @yaghiyahbrenner8902 Před 7 lety

    just subscribed. good work!

  • @sj1122gmail
    @sj1122gmail Před 8 lety

    Hello Dave
    Your this video is quite impressive and simple to understand the Internet communication concepts which are otherwise so intimidating. I would like to see more such videos. What is your website where I can subscribe...
    Sanjiv

  • @oleksandr3275
    @oleksandr3275 Před 6 lety

    Hi man !
    Thanks a lot for explanations !

  • @chasethosebluesaway
    @chasethosebluesaway Před 6 lety

    you helped me, man. thank you.

  • @53Trigger
    @53Trigger Před 3 lety

    noob here, does the port define the protocol? or is it the other way around?

  • @naheliegend5222
    @naheliegend5222 Před 3 lety

    better use port 443 for https instead of 80?

  • @neerajnegi4239
    @neerajnegi4239 Před 7 lety

    what is the use of http in web socket?

  • @giovanniraineri2226
    @giovanniraineri2226 Před 5 lety

    ok one connection to socket one for client and one for server

  • @elsanto8505
    @elsanto8505 Před 5 lety

    Thanks for the info.

  • @m.livera4615
    @m.livera4615 Před 8 lety

    Thanks man

  • @Mindfreegardener
    @Mindfreegardener Před 11 měsíci

    New subbie here! Thank you 🙏🏽

  • @patriceken
    @patriceken Před 6 lety

    we dont need that green subscribe rectangle button if i i like it the first button i'm looking for its the like button and then directly the subscribe button we all search for great content all day long

  • @developer36able
    @developer36able Před 7 lety

    When you say Full Duplex does that mean the Websocket protocol and not HTTP correct?

    • @DaveXiang
      @DaveXiang  Před 7 lety +1

      i'm describing just regular sockets here, actually WebSocket is not the right name. it's an application built on top of sockets. Http is also an application-level protocol that uses sockets to pass data. I didn't use the right naming here. Read about tcp/ip, then sockets, then http, then websocket. (in that same order if you can) Sorry about that

  • @Crislips
    @Crislips Před 7 lety +1

    This video was great, thank you so much! It's very informative and easy to understand. I just subscribed to you. Can you be my networking professor instead of my current one? I searched for your other socket video, but was unable to find it.

  • @uiiotiz2437
    @uiiotiz2437 Před 6 lety

    Awesome!

  • @caramutti
    @caramutti Před 7 lety

    Anyone notice the 412 in the IP address? OMG this guy need a urgent networking curse.

  • @nithiyanandamnatarajan1808

    Plz tell me how socket communication(client - server) are made?

  • @kinjalthehero
    @kinjalthehero Před 7 lety

    Thanks.This helps.

  • @bobbyf.4406
    @bobbyf.4406 Před 2 lety

    So sockets mean IP+port?

  • @testtestii6856
    @testtestii6856 Před 7 lety

    so a socket is an ip address with a port number?ty. what is api?

    • @BeginningProgrammer
      @BeginningProgrammer Před 7 lety

      I think he mixed concepts here. Sockets are just sockets. Any two networked items can use sockets to communicate with each other. Websockets is the concept/technology brought about with HTML 5 to facilitate socket communication from within web pages. It's an additional layer using a standardized API. You can read more about it here developer.mozilla.org/en-US/docs/Web/API/WebSockets_API

  • @user-mv4oh8yp1y
    @user-mv4oh8yp1y Před 7 lety

    Thank you, nice intro~

  • @errorboom8888
    @errorboom8888 Před 5 lety

    I'm getting confused ;/
    the short answer "Socket" mean? IP + port
    is this correct?

  • @MrNetizen
    @MrNetizen Před 5 lety

    3.47 the port number is leet :p

  • @NoahNobody
    @NoahNobody Před 4 lety

    How come when I try to connect to www.reddit.com:80/ it doesn't work?

  • @praf2
    @praf2 Před 6 lety

    Why is the port on the client side random if the connection is made through http/s? How does this port-picking-by-the-os work? Nevermind. I paused right before the explanation. :D

  • @StopfiK
    @StopfiK Před 8 lety

    Good Video. But the music irritates me. Without music would be better.

  • @jonsnow9246
    @jonsnow9246 Před 6 lety

    Starts at 1:10

  • @TheGuroguro12
    @TheGuroguro12 Před 7 lety

    thank you very muckh. "if you dont like my face" lol

  • @LeSaboteur3981
    @LeSaboteur3981 Před 4 lety +1

    Nice video, simple explanation... but that sound in the background reminds me of 80's porn movies :/

  • @henok-micrometremicrometre2563

    thanks that was graeat

  • @davecorbett92
    @davecorbett92 Před 6 lety

    Not sure why it was labelled with web sockets, you didn’t talk about them at all. Should have been sockets and the internet. Don’t bother if you actually want information on web sockets.

  • @Victor-oo4ux
    @Victor-oo4ux Před 5 lety +1

    Nice 1337 speak

  • @snowwhite7677
    @snowwhite7677 Před 7 lety +7

    We are all super excited about the Internet?! Is it 1991 again? :\

  • @tahaait7236
    @tahaait7236 Před 7 lety +1

    Man, how can raw bits be transferred if cables are cut??? is that truly what reliable means?

    • @DaveXiang
      @DaveXiang  Před 7 lety +2

      if the undersea cables are cut... the world would probably shut down

    • @tahaait7236
      @tahaait7236 Před 7 lety

      Please ,what reliable means?? suppose the problem is just in your cable

    • @Fischly007
      @Fischly007 Před 7 lety

      They can be transferred UNLESS cables are cut. ;)

  • @inadaizz
    @inadaizz Před 5 lety

    1:12

  • @FirearmTutorials
    @FirearmTutorials Před 6 lety +3

    1337

  • @erick.damata
    @erick.damata Před 6 lety

    Primitive. Yeah, I got that. If you don'tm then ask Berkeley.

  • @zzzzzzzzzz3567
    @zzzzzzzzzz3567 Před 7 lety +3

    hahaa, you are cute ;) I like geeky :)

  • @maticegiela7868
    @maticegiela7868 Před 6 lety

    Here's a way quicker summary: czcams.com/video/ZbrEztkwcw8/video.html&frags=pl%2Cwn

  • @malipetek
    @malipetek Před 7 lety

    speed 1.5

  • @edarioq
    @edarioq Před 8 lety +9

    We just want the info , starts at 1:10

  • @fahadalkamli
    @fahadalkamli Před 7 lety +2

    Okay seems like you are talking in general otherwise your information is misleading, we have different protocols for connections TCP and UDP. UDP is not reliable at all. So perhaps you should of been more speicifc with relibality.

    • @chrisliowknicksfan
      @chrisliowknicksfan Před 7 lety +4

      it's not misleading at all...it is a 100% accurate, high level description of what web sockets are with a particular focus on the client/server relationship. If you're looking for more specificity or mention of particular protocols, why are you watching a

    • @fahadalkamli
      @fahadalkamli Před 7 lety

      If you have read the first half statement of my first line "Okay seems like you are talking in general otherwise your information is misleading". And according to you this video is " high level description of what web sockets are with a particular focus on the client/server relationship" So not really sure of what are you trying to do here? but again the title of this video give me an immersion that this video is all about web sockets not a introductory to Sockets. Everything he just said is about sockets and not web socket in particular, therefore sockets in this case can be established on both tcp and udp connections. On the other hand, if the video was talking specifically about web sockets technology in depth then yes it's true that web sockets in this sense are running on TCP connection therefore reliable. Anyhow I noticed from the first 2 minutes that it's for beginners but I felt that he needed to at least mention UDP connection since beginners will be watching this video.

    • @deleater
      @deleater Před 7 lety +2

      fahad you though you clicked on this 8 minutes video so that you can master websocket ? lol. Go read full RFC 6455 for that.

  • @GuyMorita
    @GuyMorita Před 6 lety

    Appreciate the content but you could have said that in 60 seconds.

  • @cagedtigersteve
    @cagedtigersteve Před 5 lety

    Wow....this video is dated. Half of it is incorrect.

    • @Victor-oo4ux
      @Victor-oo4ux Před 5 lety

      Please have arguments for your statements, and state what's wrong in the video. Otherwise people won't believe you.

    • @cagedtigersteve
      @cagedtigersteve Před 5 lety

      @@Victor-oo4ux
      1. CZcams uses https not http.
      2. The IP address contains a 412.
      3. Is hotmail still around?

    • @cinnamon8908
      @cinnamon8908 Před 4 lety

      Caged lol Just some unnecessary things