You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi~ In serviceDidResolve delegate method,
I saw the service data as follows
HHService[0x742E3580, MAC000E53290B23, _afpovertcp._tcp, local., MAC000E53290B23.local., (
"192.168.1.48:88"
), 1] - Resolved last address
and I try to print the port number
NSLog(@"service port number :%i",service.lastResolvedPort);
what I got is
service port number :22528
please help thx
The text was updated successfully, but these errors were encountered:
The lastResolvedPort property is an internal property containing a (temporary) port number expressed in network byte order, which is why you get a strange result when you attempt to print it out.
But I've actually just checked in an update to HHService in which I've added new convenience properties, for instance resolvedInetAddresses, which contains a list of resolved addresses on the form IP:PORT.
hi~ In serviceDidResolve delegate method,
I saw the service data as follows
HHService[0x742E3580, MAC000E53290B23, _afpovertcp._tcp, local., MAC000E53290B23.local., (
"192.168.1.48:88"
), 1] - Resolved last address
and I try to print the port number
NSLog(@"service port number :%i",service.lastResolvedPort);
what I got is
service port number :22528
please help thx
The text was updated successfully, but these errors were encountered: