C++ Websocket Introduction with Boost library Part 1

Поделиться
HTML-код
  • Опубликовано: 9 сен 2024
  • Introduction to websocket using boost/beast library.
    github.com/Phy...

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

  • @brownonojeta583
    @brownonojeta583 3 года назад +5

    Awesome video, please when is part 2 coming, it will be awesome to see how to implement the async version. Thank you for a great explanation👍

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

    Awesome tutorial with deep explanations ! I'm following part two

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

    Line 12 at around 8 minutes in .... that might be the most insane way to create an int I have ever seen. Why on earth don't you just create an unsigned int the normal way?

    • @lohitmurali2137
      @lohitmurali2137 21 день назад

      Honestly, I do not actually know. He probably wrote this thinking maybe the user wants to input arguments into terminal command through main method. But have 0 clue. I just said unsigned short port = 5000; instead of all of that.

  • @amantiwari1469
    @amantiwari1469 3 года назад +2

    Please continue this series. : )

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

    Great, useful video thank you!

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

    Nice! Worked like a charm

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

    THANK YOU.
    SUPER ENTERESAN.
    So You added the Try catch for closing the websocket connection .? So to put break.
    But I didnt understand why it is :
    "... != ... closed"
    So if cliënt close the connection the server websocket is not aware except if the server initiatief it's own close command ?

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

    Thank you so much for this. Part 2 link pls

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

    Very nice tutorial, thank you!

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

    ws.accept(); kullanmadan,
    nasıl ws.write(); kullanabiliriz.
    ws.accept olmadığı vakit ws.write() bağlantıyı durduruyor.
    benim istediğim serverda admin komut girdiğinde tüm bağlı clientlere veya seçili tek bir cliente veri göndersin istiyorum.
    bunda yardımcı olursanız sevinirim.

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

    Is it possible to please make a tutorial on how JavaScript front end can fetch data from backend C++ postgreSQL database using backend C++ websocket library? Thanks.

    • @danielelupo5224
      @danielelupo5224 2 года назад +2

      Basically you want other people make your work...

    • @erenalks2519
      @erenalks2519 6 месяцев назад

      @@danielelupo5224my searched answer

  • @erenalks2519
    @erenalks2519 6 месяцев назад +1

    İngilizcen den türk olduğunu anlamıştım adına da bakınca taşlar yerine oturdu

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

    how can we render html pages in boost?

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

    Thanks alot! Part 2 coming soon?

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

    Thanks a lot for the video, it's very helpful. But if you accept a suggestion, you need to improve your editing skills

    • @ulasdikme7307
      @ulasdikme7307  2 года назад +1

      Ofcourse, what kind of editing skills should I improve ? If you be more cleare then I can take your suggestions into account.

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

      @@ulasdikme7307 try the code that you write before the video more times, so you can write in the video with less typos and errors, for example just to avoid compiler errors due to keywords written the wrong way. Also try a slight bigger font for the video. A lot of people see those tutorials alto on smartphones. Even a little pip with your face in a corner is helpful, people usually like to see the person that's talking.

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

    Hello bro. Can you please send me the code you typed? Or maybe provide Google Drive link for me to download it. Thank you.

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

    Ahaha when i cant find correct version thiss too 4:00