Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. UDP multicast
Qt 6.11 is out! See what's new in the release blog

UDP multicast

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 397 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    Qtybare
    wrote on last edited by
    #1

    I have setup a UDP multicast group but i want to block my application from receiving the datagrams it sends. Is this possible, besides processing the datagram and discarding it if I sent it?

    kshegunovK 1 Reply Last reply
    0
    • Q Qtybare

      I have setup a UDP multicast group but i want to block my application from receiving the datagrams it sends. Is this possible, besides processing the datagram and discarding it if I sent it?

      kshegunovK Offline
      kshegunovK Offline
      kshegunov
      Moderators
      wrote on last edited by
      #2

      @Qtybare said in UDP multicast:

      I have setup a UDP multicast group but i want to block my application from receiving the datagrams it sends. Is this possible, besides processing the datagram and discarding it if I sent it?

      Not to my knowledge, no. If you want to have that specific functionality, then you may need to think about 'is multicast what I really want or I should go with connection-oriented protocol (i.e. a TCP server that broadcasts to its clients)'.

      Read and abide by the Qt Code of Conduct

      1 Reply Last reply
      2
      • Kent-DorfmanK Offline
        Kent-DorfmanK Offline
        Kent-Dorfman
        wrote on last edited by
        #3

        I suppose you can use a firewalling function like iptables in linux. the kernel would still receive the datagram but drop it instead of having to copy it: a "slight" performance improvement.

        The dystopian literature that served as a warning in my youth has become an instruction manual in my elder years.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved