WEBSOCKET CHAT IN JAVASCRIPT AND PYTHON

Поделиться
HTML-код
  • Опубликовано: 29 окт 2024

Комментарии • 15

  • @sukooo_
    @sukooo_ 2 года назад +4

    This is so informative! It helped me out a lot thank you! Me and my friend wanted to start something like this but never found the starting point, but this is it! Thanks ❤

  • @СанжарАбдуллаев-к8м
    @СанжарАбдуллаев-к8м 2 года назад +6

    25:32
    Guys! Never use innerHTML for user input because there can be placed some javascript code which can be harmful. Instead, you can use textContent

  • @kiproth
    @kiproth Год назад +2

    thank you very much, so much great information and so underrated

  • @goblin69_420
    @goblin69_420 Год назад

    Very good explanation, thank you for This

  • @sarveshsivam7060
    @sarveshsivam7060 Год назад

    Thank you very much, this has helped me make my new project

  • @ultimatefunny222com5
    @ultimatefunny222com5 Год назад

    Thanks sir nice keep it up

  • @belkacemioussama3489
    @belkacemioussama3489 Год назад

    thanks alot you save my lots of time

  • @radoharilalaandriamananjar6347
    @radoharilalaandriamananjar6347 11 месяцев назад

    Very good video to get started with websocket.
    I have error when refreshing the webpage. You should show how to handle disconnection

  • @darwin1436
    @darwin1436 Год назад

    Excelente. todo funciona bien, pero tengo un problema: al momento de cerrar el js, se daña el script del python. (connection handler failed) y ya no responde el websocket hasta tener que reiniciarlo. hay una forma de evitar este problema ?

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

    how can i do this with micropython with esp8266, without asyncio? since it's only single core

  • @omarelfakihperez4466
    @omarelfakihperez4466 Год назад

    this was very usefull but I ran into a problem where if any client disconnected it would stop working because they are never removed from the array and the server still tried to reach them, I was able to fix it by catching the ConnectionClosedOK exception and removing the clientSocket from there

  • @ultimatefunny222com5
    @ultimatefunny222com5 Год назад

    ok i know why there is shown two messages
    reason: you make a list all clients which sends message to all the clients in which sender also include so the user send a message itself and there two helo helo has shown
    sloution: there should be a check in for loop which send message to all clients in the list but not only to that socket which send the message

  • @gonguyen7102
    @gonguyen7102 Год назад

    Bro do you have info ig or facebook? I wanna ask you some questions and wanna donate for you but now I don't have much money but thank you very concept
    But i ask that hmm do facebook telegram ig they use the same concept as you? Like they set up websocket as concise like you set up and how they handle billions of chat everyday? I read a blog about instant chat how big tech company use (they use websocket and mqtt most) how they handle billion user just use websocket? Do it just basic like that? 🤣 don't know much but thank you