>> I don't believe there is anything in the IP protocol that will >> identify a broadcast
> If not, is there a flag somewhere in twsocket to tell an UDP socket > to ignore clients who knocks on a given port with a 255.255.255.255 address ? I don't think this exists. However, I see two solutions for your problem: One easy and one more complex. 1) Easy: In the data packet you send, add the server address. Those not having that address will then easily detected. This is easy but required to somewhat change the protocol you use and this may not be possible for you. 2) Complex: Use a second TWSocket in raw mode to get hand on all packets. You can then peek in the raw packet to find the destination address which is 255.255.255.255. -- [email protected] Embarcadero MVP http://www.overbyte.be http://francois-piette.blogspot.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
