How about sending an ICMP echo packet to your broadcast address and checking which hosts send a reply