Это видео недоступно.
Сожалеем об этом.

What is an Internet Socket?

Поделиться
HTML-код
  • Опубликовано: 2 авг 2024
  • *** Warning!! 412 is impossible, I made a mistake in the example IP address. Sorry about the confusion.
    What is an Internet Socket?
    Instagram: / davex.tech
    Home: davidxiang.com
    Book: www.amazon.com/dp/B07D5QNGVZ
    Facebook Page: / davex.tech
    Twitter: / davex_tech
    Email: davex.inc@gmail.com
    #software #coding #softwaredevelopment #programming #howtocode

Комментарии • 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 6 лет назад +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.

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

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

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

  • @vic9380
    @vic9380 7 лет назад +2

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

  • @jacksond5289
    @jacksond5289 2 года назад

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

  • @chenbi5258
    @chenbi5258 8 лет назад

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

  • @somdow
    @somdow 8 лет назад +3

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

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

  • @coldsummersky69
    @coldsummersky69 6 лет назад

    Great high overview! Looking forward to more content

  • @direnb3401
    @direnb3401 2 года назад

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

  • @navanjanevidunuwan1244
    @navanjanevidunuwan1244 5 лет назад

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

  • @anshumgoyal
    @anshumgoyal 7 лет назад

    short and complete overview. thanks!

  • @bossysmaxx3327
    @bossysmaxx3327 5 лет назад

    I really loved the information you told us.

  • @jessydadi9420
    @jessydadi9420 5 лет назад

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

  • @JasonRichardTesch
    @JasonRichardTesch 8 лет назад +40

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

  • @davidjbergman
    @davidjbergman 7 лет назад

    Nice Video! Great info.

  • @PHLYLM
    @PHLYLM 7 лет назад

    thank you so much for the simple explanation!

  • @theshreyansjain
    @theshreyansjain 8 лет назад

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

  • @fanrelena8788
    @fanrelena8788 7 лет назад

    Very well explained. Love your videos. :)

  • @jianishen5656
    @jianishen5656 7 лет назад +1

    makes a lot of sense to me, thanks

  • @pearlv1760
    @pearlv1760 2 года назад

    Thank you so much. This video really helped me

  • @jesk8board
    @jesk8board 7 лет назад +4

    Great video! Thank you!

  • @chasethosebluesaway
    @chasethosebluesaway 6 лет назад

    you really helped me, man. thank you.

  • @girlandhercomputer7204
    @girlandhercomputer7204 7 лет назад

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

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

  • @yaghiyahbrenner8902
    @yaghiyahbrenner8902 7 лет назад

    just subscribed. good work!

  • @kwakukusi8997
    @kwakukusi8997 7 лет назад

    You are awesome , great explanation

  • @Fazifs
    @Fazifs 7 лет назад

    Very well explained!

  • @elsanto8505
    @elsanto8505 5 лет назад

    Thanks for the info.

  • @kevinmarmet
    @kevinmarmet 6 лет назад

    Great vid, well done

  • @earlholder5941
    @earlholder5941 7 лет назад

    Very well explained!!!

  • @chasethosebluesaway
    @chasethosebluesaway 6 лет назад

    you helped me, man. thank you.

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

  • @user-eh5zk5bb9k
    @user-eh5zk5bb9k 3 года назад

    awesome video!

  • @becool123sai
    @becool123sai 7 лет назад

    Great Video and nice explanation :)

  • @tom2877
    @tom2877 2 года назад

    nice job on this

  • @lake4590
    @lake4590 5 лет назад +12

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

  • @oleksandr3275
    @oleksandr3275 5 лет назад

    Hi man !
    Thanks a lot for explanations !

  • @aqibmakandar9745
    @aqibmakandar9745 7 лет назад

    thank you for explaining web-socket is simple way.

  • @smellthel
    @smellthel 3 года назад +1

    Thanks brother

  • @m.livera4615
    @m.livera4615 8 лет назад

    Thanks man

  • @codingforcats8529
    @codingforcats8529 7 лет назад

    very very good video!

  • @kinjalthehero
    @kinjalthehero 7 лет назад

    Thanks.This helps.

  • @Utubeasiangirls
    @Utubeasiangirls 5 лет назад

    clear explaining thnx

  • @naruto5437
    @naruto5437 7 лет назад

    good video...explained in a very layman terms

  • @01ToWoT
    @01ToWoT 7 лет назад

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

  • @uiiotiz2437
    @uiiotiz2437 6 лет назад

    Awesome!

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

  • @user-mv4oh8yp1y
    @user-mv4oh8yp1y 7 лет назад

    Thank you, nice intro~

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

  • @dharmendrabhojwani
    @dharmendrabhojwani 6 лет назад

    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.

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

  • @bibekkoirala2517
    @bibekkoirala2517 4 года назад

    Bro you da MVP

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

  • @Mindfreegardener
    @Mindfreegardener 10 месяцев назад

    New subbie here! Thank you 🙏🏽

  • @henok-micrometremicrometre2563
    @henok-micrometremicrometre2563 8 лет назад +1

    thanks that was graeat

  • @TheRoxas13th
    @TheRoxas13th 8 лет назад +4

    Is Websocket and socket the same thing?

  • @SNSDFOREVERSONESEO
    @SNSDFOREVERSONESEO 8 лет назад

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

  • @roneisenstein5212
    @roneisenstein5212 8 лет назад +1

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

  • @renanschwyz
    @renanschwyz 5 лет назад

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

  • @nithiyanandamnatarajan1808
    @nithiyanandamnatarajan1808 6 лет назад

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

  • @mztan
    @mztan 8 лет назад +20

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

  • @deleater
    @deleater 7 лет назад

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

  • @53Trigger
    @53Trigger 3 года назад

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

  • @smellthel
    @smellthel 3 года назад +1

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

  • @neerajnegi4239
    @neerajnegi4239 6 лет назад

    what is the use of http in web socket?

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

  • @errorboom8888
    @errorboom8888 5 лет назад

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

  • @TheGuroguro12
    @TheGuroguro12 7 лет назад

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

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

  • @naheliegend5222
    @naheliegend5222 4 года назад

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

  • @naheliegend5222
    @naheliegend5222 3 года назад

    better use port 443 for https instead of 80?

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

  • @bobbyf.4406
    @bobbyf.4406 2 года назад

    So sockets mean IP+port?

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

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

  • @giovanniraineri2226
    @giovanniraineri2226 5 лет назад

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

  • @zzzzzzzzzz3567
    @zzzzzzzzzz3567 7 лет назад +3

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

  • @patriceken
    @patriceken 6 лет назад

    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

  • @NoahNobody
    @NoahNobody 3 года назад

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

  • @MrNetizen
    @MrNetizen 5 лет назад

    3.47 the port number is leet :p

  • @LeSaboteur3981
    @LeSaboteur3981 4 года назад +1

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

  • @caramutti
    @caramutti 6 лет назад

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

  • @Victor-oo4ux
    @Victor-oo4ux 5 лет назад +1

    Nice 1337 speak

  • @FirearmTutorials
    @FirearmTutorials 6 лет назад +3

    1337

  • @jonsnow9246
    @jonsnow9246 6 лет назад

    Starts at 1:10

  • @inadaizz
    @inadaizz 4 года назад

    1:12

  • @StopfiK
    @StopfiK 8 лет назад

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

  • @maticegiela7868
    @maticegiela7868 6 лет назад

    Here's a way quicker summary: ruclips.net/video/ZbrEztkwcw8/видео.html&frags=pl%2Cwn

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

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

  • @malipetek
    @malipetek 7 лет назад

    speed 1.5

  • @erick.damata
    @erick.damata 5 лет назад

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

  • @fahadalkamli
    @fahadalkamli 7 лет назад +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.

  • @snowwhite7677
    @snowwhite7677 7 лет назад +7

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

  • @GuyMorita
    @GuyMorita 6 лет назад

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

  • @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. RUclips uses https not http.
      2. The IP address contains a 412.
      3. Is hotmail still around?

    • @cinnamon8908
      @cinnamon8908 4 года назад

      Caged lol Just some unnecessary things

  • @edarioq
    @edarioq 8 лет назад +9

    We just want the info , starts at 1:10