SCNetwork warnings
SCNetwork warnings
- Subject: SCNetwork warnings
- From: Donald Hall <email@hidden>
- Date: Thu, 5 Jul 2007 23:42:15 -0600
Title: SCNetwork warnings
Can anyone tell me
what this means?
AppController.m:28: warning: passing arg 2 of
`SCNetworkCheckReachabilityByName' discards qualifiers from pointer
target type
Here is the
relevant code:
Boolean success;
BOOL
okay = NO;
SCNetworkConnectionFlags flags;
@try {
success = SCNetworkCheckReachabilityByName("www.apple.com", &flags);
okay
= success && (flags & kSCNetworkFlagsReachable) &&
!(flags & kSCNetworkFlagsConnectionRequired);
.
.
et
cetera
As far as I can
tell I am using this function exactly as spelled out in the
documentation.
Thanks,
Don
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden