The Most Simple UDP Client Server Program In C!

แชร์
ฝัง

ความคิดเห็น • 28

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

    this is kind of video for networking in C is gold, keep it up

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

    You were very clear and very handy as your username said. Thank you so much for this wonderful video

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

    Thank you, very helpful!

  • @cs2-51-sreelekhaaa6
    @cs2-51-sreelekhaaa6 ปีที่แล้ว

    Thankyou ✨
    Can you please do a video on reversing a string using tcp

  • @jradacademy2772
    @jradacademy2772 3 ปีที่แล้ว +6

    It was a good tutorial. do you have any idea how broadcast(for playing a game) with multiple clients can be implemented using UDP in C?

  • @krisa127
    @krisa127 4 ปีที่แล้ว

    this is awesome!! thank you so much!! will there be a TCP - tutorial one of these days? ;)

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

      Unfortunately it's not on the cards anytime soon :( but I would love to when I can get around to it.

  • @hoangphucnguyen3067
    @hoangphucnguyen3067 4 ปีที่แล้ว

    thank you !!

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

    Thanks!

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

    thank you sir

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

    nice

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

    can you do it for multiple clients?

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

    how would you do this with ipv6?

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

    I want to send live sensor data

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

    Sir give me a udp i working clickworker side and need udp create clickworker id

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

    This is for doing both sides on 1 computer, right? How do I do this with an actual remote server? Where do I put in the IP for the server?

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

      I figured it out. In the client.c I changed INADDR_ANY to inet_addr("my_remote_server_public_ip"); and obviously fill in your own public ip. Make sure you have udp open in the security profile for your server.

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

      @@AkamiChannel This is exactly right! And yes of course make sure your firewall allows that udp IP:Port combination.

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

      @@handyscripts5830 Are you planning to make more youtube videos? I have a discord server with some other tech youtubers if you're interested.

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

    How to send packet data into specific IP address?

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

      In this video I have sent it to INADDR_ANY, which is defined as 0.0.0.0. You can replace this with an IP address. For example: inet_addr("127.0.0.1");

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

      @@handyscripts5830 ohh I see...
      It's covered by yt caption and my listening english isn't good. thanks

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

    Hlw sir you give me a UDP
    I working clickworker side and need UDP

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

    nice