摄像头登录代码点击才会登录
This commit is contained in:
@@ -234,9 +234,9 @@ withFilterContext:(id)filterContext
|
||||
return;
|
||||
}
|
||||
NSString* serIp = [GCDAsyncUdpSocket hostFromAddress:address];
|
||||
NSLog(@"serIp=%@",serIp);
|
||||
|
||||
serIp= [serIp stringByReplacingOccurrencesOfString:@"::ffff:" withString:@""];
|
||||
|
||||
NSLog(@"serIp=%@,length=%ld",serIp,data.length);
|
||||
|
||||
//uint16_t serPort = (int)[GCDAsyncUdpSocket portFromAddress:address];
|
||||
if ([serIp isEqualToString:_localIP]) {
|
||||
|
||||
Reference in New Issue
Block a user