Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- self.udpSocekt = [[GCDAsyncUdpSocket alloc] initWithDelegate:self
- delegateQueue:dispatch_get_main_queue()];
- NSError *udpError = nil;
- [self.udpSocekt enableBroadcast:YES
- error:&udpError];
- [self.udpSocekt sendData:someData
- toHost:255.255.255.255
- port:25525
- withTimeout:-1
- tag:0];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement