Re: UDP responses and listeners
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