GCDAsyncUdpSocket *sendSocket; sendSocket = [[GCDAsycUdpSocket alloc] initwithDelegate:self delegateQueue:dispatch_get_main_queue()]; for(int i = 0;i < sort.count; i++) { [sendSocket sendData:[sort objectAtIndex:i toHost:@"239.1.1.110" port:46110 Timeout:-1 tag:1]; }
GCDAsyncUdpSocket *sendSocket; sendSocket = [[GCDAsycUdpSocket alloc] initwithDelegate:self delegateQueue:dispatch_get_main_queue()]; for(int i = 0;i < sort.count; i++) { [sendSocket sendData:[sort objectAtIndex:i toHost:@"239.1.1.110" port:46110 Timeout:-1 tag:1]; [Thread sleepForTimeInterval:0.003f]; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)