What is an Internet Socket?

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

КОМЕНТАРІ • 131

  • @adampaulik1377
    @adampaulik1377 8 років тому +37

    123.52.412.2 ... 412 o.O :D

    • @dmitryart6360
      @dmitryart6360 8 років тому +2

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

    • @DaveXiang
      @DaveXiang  8 років тому +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 8 років тому +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 7 років тому +1

      You're so 2^8

  • @shubhamagarwal6168
    @shubhamagarwal6168 6 років тому +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 5 років тому

      Thats what ports do huh?

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

      @@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 8 років тому +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  8 років тому +7

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

    • @randerins
      @randerins 7 років тому +1

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

  • @vic9380
    @vic9380 7 років тому +2

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

  • @deveagle669
    @deveagle669 7 років тому +1

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

  • @JasonRichardTesch
    @JasonRichardTesch 8 років тому +40

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

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

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

  • @lake4590
    @lake4590 5 років тому +12

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

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

    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

  • @somdow
    @somdow 8 років тому +3

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

  • @qianbang_
    @qianbang_ 7 років тому

    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

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

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

  • @mikkeljrgensen3850
    @mikkeljrgensen3850 6 років тому

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

  • @franejelavic
    @franejelavic 7 років тому

    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.

  • @user-gu5ts5nx8r
    @user-gu5ts5nx8r 7 років тому

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

  • @roneisenstein5212
    @roneisenstein5212 8 років тому +1

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

  • @chenbi5258
    @chenbi5258 8 років тому

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

  • @LayneSadler
    @LayneSadler 8 років тому +4

    ephemeral port - new concept for me! nice!

    • @cagedtigersteve
      @cagedtigersteve 5 років тому +1

      Don't get too attached to it, it will go away.

  • @mztan
    @mztan 8 років тому +20

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

  • @dharmendrabhojwani
    @dharmendrabhojwani 7 років тому

    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.

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

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

  • @aqibmakandar9745
    @aqibmakandar9745 7 років тому

    thank you for explaining web-socket is simple way.

  • @sj1122gmail
    @sj1122gmail 8 років тому

    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

  • @anshumgoyal
    @anshumgoyal 7 років тому

    short and complete overview. thanks!

  • @coldsummersky69
    @coldsummersky69 6 років тому

    Great high overview! Looking forward to more content

  • @navanjanevidunuwan1244
    @navanjanevidunuwan1244 5 років тому

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

  • @TheRoxas13th
    @TheRoxas13th 8 років тому +4

    Is Websocket and socket the same thing?

  • @davidjbergman
    @davidjbergman 7 років тому

    Nice Video! Great info.

  • @01ToWoT
    @01ToWoT 7 років тому

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

  • @jessydadi9420
    @jessydadi9420 5 років тому

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

  • @renanschwyz
    @renanschwyz 5 років тому

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

  • @SNSDFOREVERSONESEO
    @SNSDFOREVERSONESEO 8 років тому

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

  • @deleater
    @deleater 7 років тому

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

  • @jesk8board
    @jesk8board 7 років тому +4

    Great video! Thank you!

  • @pbdeveloper9011
    @pbdeveloper9011 7 років тому

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

    • @DaveXiang
      @DaveXiang  7 років тому

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

  • @jianishen5656
    @jianishen5656 8 років тому +1

    makes a lot of sense to me, thanks

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

    Thank you so much. This video really helped me

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

    Thanks brother

  • @theshreyansjain
    @theshreyansjain 8 років тому

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

  • @naruto5437
    @naruto5437 7 років тому

    good video...explained in a very layman terms

  • @bossysmaxx3327
    @bossysmaxx3327 5 років тому

    I really loved the information you told us.

  • @fanrelena8788
    @fanrelena8788 7 років тому

    Very well explained. Love your videos. :)

  • @Crislips
    @Crislips 7 років тому +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.

  • @girlandhercomputer7204
    @girlandhercomputer7204 7 років тому

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

  • @chasethosebluesaway
    @chasethosebluesaway 6 років тому

    you really helped me, man. thank you.

  • @Fazifs
    @Fazifs 7 років тому

    Very well explained!

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

    nice job on this

  • @becool123sai
    @becool123sai 7 років тому

    Great Video and nice explanation :)

  • @PHLYLM
    @PHLYLM 7 років тому

    thank you so much for the simple explanation!

  • @yaghiyahbrenner8902
    @yaghiyahbrenner8902 7 років тому

    just subscribed. good work!

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

    awesome video!

  • @naheliegend5222
    @naheliegend5222 4 роки тому

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

  • @dzen1234
    @dzen1234 7 років тому +15

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

    • @muhammadikhsan1219
      @muhammadikhsan1219 7 років тому

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

  • @kwakukusi8997
    @kwakukusi8997 7 років тому

    You are awesome , great explanation

  • @earlholder5941
    @earlholder5941 7 років тому

    Very well explained!!!

  • @53Trigger
    @53Trigger 3 роки тому

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

  • @oleksandr3275
    @oleksandr3275 6 років тому

    Hi man !
    Thanks a lot for explanations !

  • @kevinmarmet
    @kevinmarmet 6 років тому

    Great vid, well done

  • @chasethosebluesaway
    @chasethosebluesaway 6 років тому

    you helped me, man. thank you.

  • @codingforcats8529
    @codingforcats8529 7 років тому

    very very good video!

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

    New subbie here! Thank you 🙏🏽

  • @praf2
    @praf2 6 років тому

    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

  • @bibekkoirala2517
    @bibekkoirala2517 4 роки тому

    Bro you da MVP

  • @errorboom8888
    @errorboom8888 5 років тому

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

  • @Utubeasiangirls
    @Utubeasiangirls 5 років тому

    clear explaining thnx

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

    better use port 443 for https instead of 80?

  • @bobbyf.4406
    @bobbyf.4406 2 роки тому

    So sockets mean IP+port?

  • @elsanto8505
    @elsanto8505 5 років тому

    Thanks for the info.

  • @uiiotiz2437
    @uiiotiz2437 6 років тому

    Awesome!

  • @developer36able
    @developer36able 7 років тому

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

    • @DaveXiang
      @DaveXiang  7 років тому +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

  • @m.livera4615
    @m.livera4615 8 років тому

    Thanks man

  • @neerajnegi4239
    @neerajnegi4239 7 років тому

    what is the use of http in web socket?

  • @giovanniraineri2226
    @giovanniraineri2226 5 років тому

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

  • @davecorbett92
    @davecorbett92 6 років тому

    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.

  • @TheGuroguro12
    @TheGuroguro12 7 років тому

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

  • @nithiyanandamnatarajan1808
    @nithiyanandamnatarajan1808 6 років тому

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

  • @caramutti
    @caramutti 7 років тому

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

  • @kinjalthehero
    @kinjalthehero 7 років тому

    Thanks.This helps.

  • @StopfiK
    @StopfiK 8 років тому

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

  • @testtestii6856
    @testtestii6856 7 років тому

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

    • @BeginningProgrammer
      @BeginningProgrammer 7 років тому

      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

  • @王甯-h2x
    @王甯-h2x 7 років тому

    Thank you, nice intro~

  • @henok-micrometremicrometre2563
    @henok-micrometremicrometre2563 8 років тому +1

    thanks that was graeat

  • @NoahNobody
    @NoahNobody 4 роки тому

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

  • @tahaait7236
    @tahaait7236 7 років тому +1

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

    • @DaveXiang
      @DaveXiang  7 років тому +2

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

    • @tahaait7236
      @tahaait7236 7 років тому

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

    • @Fischly007
      @Fischly007 7 років тому

      They can be transferred UNLESS cables are cut. ;)

  • @patriceken
    @patriceken 7 років тому

    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

  • @LeSaboteur3981
    @LeSaboteur3981 4 роки тому +1

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

  • @MrNetizen
    @MrNetizen 5 років тому

    3.47 the port number is leet :p

  • @jonsnow9246
    @jonsnow9246 6 років тому

    Starts at 1:10

  • @Victor-oo4ux
    @Victor-oo4ux 5 років тому +1

    Nice 1337 speak

  • @FirearmTutorials
    @FirearmTutorials 6 років тому +3

    1337

  • @inadaizz
    @inadaizz 5 років тому

    1:12

  • @snowwhite7677
    @snowwhite7677 7 років тому +7

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

  • @zzzzzzzzzz3567
    @zzzzzzzzzz3567 7 років тому +3

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

  • @edarioq
    @edarioq 8 років тому +9

    We just want the info , starts at 1:10

  • @erick.damata
    @erick.damata 6 років тому

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

  • @malipetek
    @malipetek 7 років тому

    speed 1.5

  • @GuyMorita
    @GuyMorita 6 років тому

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

  • @fahadalkamli
    @fahadalkamli 8 років тому +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 7 років тому +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 7 років тому

      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 7 років тому +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.

  • @maticegiela7868
    @maticegiela7868 6 років тому

    Here's a way quicker summary: ua-cam.com/video/ZbrEztkwcw8/v-deo.html&frags=pl%2Cwn

  • @cagedtigersteve
    @cagedtigersteve 5 років тому

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

    • @Victor-oo4ux
      @Victor-oo4ux 5 років тому

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

    • @cagedtigersteve
      @cagedtigersteve 5 років тому

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

    • @cinnamon8908
      @cinnamon8908 5 років тому

      Caged lol Just some unnecessary things