Socket programming for beginners on raspberry pi 4 using boost asio library part 2

Поделиться
HTML-код
  • Опубликовано: 9 сен 2024
  • Raspberry pi socket programming example
    github.com/Phy...
    github.com/Phy...

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

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

    i aspire to be able to code like you and many others do, code as if it's speaking in one's native language. thank you for this!

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

    Great introduction to boost::asio ! Thanks Ulaş, good to know you :)

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

    Thank you so much for the tutorial! It really helped me to kickstart the network programming for my personal project. Briefly explaining my goal, I am trying to control my RPi LED matrix programmed with C++ through a Unity3D mobile application. I am setting up a separate RPi socket server for the two clients; one is the smartphone app, and the other one is the RPi LED matrix. I want these two clients to talk through the local socket server. I am just starting to learn socket programming and pretty much C++ too. If what I am planning doesn't make sense to you, please let me know. It would be great to hear your advice.
    After seeing your tutorial, I am digging into ASIO. I am having a hard time reading their documentation. I don't see what constructor or function parameters I need to use. For an example of creating an acceptor object, where can I find the information about the parameters? I see only small examples at the bottom. Is that all?
    I know there is websocket++ based on ASIO. Could you give a tutorial about the WebSocket implementation with RPi?
    Lastly, if I want to use a cloud socket server instead of a local server, which is perfectly fine for now, what is a good and simple way to have this remote socket server I can connect to? (Rpi LED (programmed with c++) Cloud Server Smartphone(programmed with c#) is the structure.
    Thank you so much for reading this long comment, haha! If you have any advice regarding my project, I would be more than happy to hear! Please let me know. If an email is more convenient, please send me an email at ss2432@cornell.edu Thanks a lot!