On Tue, 2006-01-10 at 16:21 +0000, Peter Onion wrote: > > I've set SO_BROADCAST with set_sockopt but it didn't improve things. > > I think that only applies to sending to the broadcast address. Hmm, see, there was some conflicting information on that. Some man pages send it was for reception and transmission, others just for transmission. Thanks for the clearing that one up! > > Is there a trick to enabling the reception of broadcast packets? > > Set the bind address to INADDR_BROADCAST > > Name.sin_family = AF_INET; > Name.sin_addr.s_addr = INADDR_BROADCAST; > Name.sin_port = htons(potrNumber); > > Bind(rxSocket,(struct sockaddr *) &Name,sizeof(name)); Hmm, odd, that's the last thing I tried, to no avail. Is it possible that INADDR_BROADCAST only responds to certain broadcast addresses, i.e. 192.168.1.255 but NOT 255.255.255.255? Have you seen a small example that you were able to get working? Thanks for the help. TTYL ----------------------------- Herbert's PIC Stuff: http://repatch.dyndns.org:8383/pic_stuff/ -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist