• 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: UDP responses and listeners
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UDP responses and listeners


  • Subject: Re: UDP responses and listeners
  • From: Jeff Davey <email@hidden>
  • Date: Mon, 26 Jul 2010 22:27:42 -0700

Update...

According to Josh's response, the CallBack should be called. I got to thinking about that call to CFSocketSetAddress. "What if it's taken LITERALLY?"

I was binding the socket to the address of my iPad, but the response packet was broadcast to 255.255.255.255.
The configuration for Device #2, has a setting called udpdestinationaddress. It is set to 255.255.255.255. I changed this setting to the address of my iPad: 192.168.1.100 and ran the application again. Lo an behold, my CallBack was called. WOOHOO!


This is great news. If I can get the manufacturer of the device to reply to the calling address I am in business.

So close... I've used two UDP terminal programs that get the replies fine. So I think there might be something I can do in the code to get the replies even when it is broadcast to 255.255.255.255. I did try binding the socket to 255.255.255.255. It didn't catch any replies.

Any ideas?


Many thanks to Josh. _______________________________________________ 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
  • Follow-Ups:
    • Re: UDP responses and listeners
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Prev by Date: Re: UDP responses and listeners
  • Next by Date: Re: UDP responses and listeners
  • Previous by thread: Re: UDP responses and listeners
  • Next by thread: Re: UDP responses and listeners
  • Index(es):
    • Date
    • Thread