I'm sending data with MulticastSocket in Java. Messages have structure "username: data" and so far I've been doing:
if (!message.startsWith(this.nick + ":"))
{
// do stuff
}
Is there any way not to send the message to sender at all? This way I just ignore this message, but waste efficiency.