thanks a lot for this solution. Next thing: how may i find out that that address is multicast one? is there some easy possibility or i have to use regex now? thanks