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?
@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)'.
-
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.