Advertisement
Guest User

Untitled

a guest
Jul 25th, 2014
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. self.udpSocekt = [[GCDAsyncUdpSocket alloc] initWithDelegate:self
  2. delegateQueue:dispatch_get_main_queue()];
  3. NSError *udpError = nil;
  4. [self.udpSocekt enableBroadcast:YES
  5. error:&udpError];
  6. [self.udpSocekt sendData:someData
  7. toHost:255.255.255.255
  8. port:25525
  9. withTimeout:-1
  10. tag:0];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement