• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Receive UDP broadcast packets with OTRcvUData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Receive UDP broadcast packets with OTRcvUData


  • Subject: Re: Receive UDP broadcast packets with OTRcvUData
  • From: Quinn <email@hidden>
  • Date: Fri, 29 Oct 2004 15:56:33 +0100

Title: Re: Receive UDP broadcast packets with OTRcvUData
At 12:09 +0200 29/10/04, Matthieu Beghin wrote:
I create a Synchrone socket and set it non blockling. It receives broadcast on 2.255.255.255 (ips are 2.x.x.x).
Sometimes I have to answer by broadcast and I get the error
kEACCESErr -3212 Permission denied
when calling OTSndUData. If I send packets to a specific machine, it works, but not broadcast.

IIRC you have to send to the /subnet/ broadcast address.  That is, if you're IP is 1.2.3.4 and your subnet mask is 255.255.0.0, you have to send your packet to 1.2.255.255.

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Receive UDP broadcast packets with OTRcvUData (From: "Matthieu Beghin" <email@hidden>)
 >Re: Receive UDP broadcast packets with OTRcvUData (From: "Matthieu Beghin" <email@hidden>)
 >Re: Receive UDP broadcast packets with OTRcvUData (From: Quinn <email@hidden>)
 >Re: Receive UDP broadcast packets with OTRcvUData (From: "Matthieu Beghin" <email@hidden>)

  • Prev by Date: .local + DNS = weirdness
  • Next by Date: Re: MoreSCF fails horribly if the Automatic location is removed
  • Previous by thread: Re: Receive UDP broadcast packets with OTRcvUData
  • Next by thread: Re: Receive UDP broadcast packets with OTRcvUData
  • Index(es):
    • Date
    • Thread