C++ Websocket Introduction with Boost library Part 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ส.ค. 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

  • @amantiwari1469
    @amantiwari1469 2 ปีที่แล้ว +2

    Please continue this series. : )

  • @lqw3844
    @lqw3844 ปีที่แล้ว

    Nice! Worked like a charm

  • @hp21693
    @hp21693 ปีที่แล้ว

    Great, useful video thank you!

  • @altafnavalur
    @altafnavalur 3 ปีที่แล้ว +1

    Thank you so much for this. Part 2 link pls

  • @codyq0987
    @codyq0987 2 ปีที่แล้ว

    Very nice tutorial, thank you!

  • @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 6 วันที่ผ่านมา

      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.

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

  • @sejungsong
    @sejungsong 2 ปีที่แล้ว

    Thanks alot! Part 2 coming soon?

  • @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 5 หลายเดือนก่อน

      @@danielelupo5224my searched answer

  • @erenalks2519
    @erenalks2519 5 หลายเดือนก่อน +1

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

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

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

  • @sanketkamta106
    @sanketkamta106 3 ปีที่แล้ว +1

    how can we render html pages in boost?

  • @bkcyigit
    @bkcyigit 3 ปีที่แล้ว

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

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