[MonoTouch] Can't determine IP address on iPhone device

Robert Jordan robertj at gmx.net
Sat Oct 15 04:32:55 EDT 2011


On 15.10.2011 10:02, jowi wrote:
> Thanks Miguel, that does the trick! I leave it up to you guys to find out why
> the other code doesn't. Should i file a bug report for it?

Your code isn't correct because it assumes that your device has
a valid (resolvable) host name. Also, you're deliberately appending
".local" to your host name. This is obviously wrong.

Robert



More information about the MonoTouch mailing list