PageRenderTime 65ms CodeModel.GetById 32ms RepoModel.GetById 0ms app.codeStats 0ms

/Pods/Documentation/CocoaAsyncSocket/docset/Contents/Resources/Tokens4.xml

https://gitlab.com/mba811/tokaidoapp
XML | 1002 lines | 678 code | 324 blank | 0 comment | 0 complexity | 8a0d0026606f8d39a35dbc69c6e66c47 MD5 | raw file
Possible License(s): BSD-3-Clause
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <Tokens version="1.0">
  3. <File path="Classes/GCDAsyncUdpSocket.html">
  4. <Token>
  5. <TokenIdentifier>//apple_ref/occ/cl/GCDAsyncUdpSocket</TokenIdentifier>
  6. <Abstract type="html">You may optionally set a send filter for the socket.
  7. A filter can provide several interesting possibilities:</Abstract>
  8. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  9. <NodeRef refid="4"/>
  10. </Token>
  11. <Token>
  12. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/init</TokenIdentifier>
  13. <Abstract type="html">GCDAsyncUdpSocket uses the standard delegate paradigm,
  14. but executes all delegate callbacks on a given delegate dispatch queue.
  15. This allows for maximum concurrency, while at the same time providing easy thread safety.</Abstract>
  16. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  17. <Declaration>- (id)init</Declaration>
  18. <Anchor>//api/name/init</Anchor>
  19. <NodeRef refid="4"/>
  20. </Token>
  21. <Token>
  22. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/initWithSocketQueue:</TokenIdentifier>
  23. <Abstract type="html"></Abstract>
  24. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  25. <Declaration>- (id)initWithSocketQueue:(dispatch_queue_t)sq</Declaration>
  26. <Anchor>//api/name/initWithSocketQueue:</Anchor>
  27. <NodeRef refid="4"/>
  28. </Token>
  29. <Token>
  30. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/initWithDelegate:delegateQueue:</TokenIdentifier>
  31. <Abstract type="html"></Abstract>
  32. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  33. <Declaration>- (id)initWithDelegate:(id)aDelegate delegateQueue:(dispatch_queue_t)dq</Declaration>
  34. <Anchor>//api/name/initWithDelegate:delegateQueue:</Anchor>
  35. <NodeRef refid="4"/>
  36. </Token>
  37. <Token>
  38. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/initWithDelegate:delegateQueue:socketQueue:</TokenIdentifier>
  39. <Abstract type="html"></Abstract>
  40. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  41. <Declaration>- (id)initWithDelegate:(id)aDelegate delegateQueue:(dispatch_queue_t)dq socketQueue:(dispatch_queue_t)sq</Declaration>
  42. <Anchor>//api/name/initWithDelegate:delegateQueue:socketQueue:</Anchor>
  43. <NodeRef refid="4"/>
  44. </Token>
  45. <Token>
  46. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/delegate</TokenIdentifier>
  47. <Abstract type="html"></Abstract>
  48. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  49. <Declaration>- (id)delegate</Declaration>
  50. <Anchor>//api/name/delegate</Anchor>
  51. <NodeRef refid="4"/>
  52. </Token>
  53. <Token>
  54. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/setDelegate:</TokenIdentifier>
  55. <Abstract type="html"></Abstract>
  56. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  57. <Declaration>- (void)setDelegate:(id)delegate</Declaration>
  58. <Anchor>//api/name/setDelegate:</Anchor>
  59. <NodeRef refid="4"/>
  60. </Token>
  61. <Token>
  62. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/synchronouslySetDelegate:</TokenIdentifier>
  63. <Abstract type="html"></Abstract>
  64. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  65. <Declaration>- (void)synchronouslySetDelegate:(id)delegate</Declaration>
  66. <Anchor>//api/name/synchronouslySetDelegate:</Anchor>
  67. <NodeRef refid="4"/>
  68. </Token>
  69. <Token>
  70. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/delegateQueue</TokenIdentifier>
  71. <Abstract type="html"></Abstract>
  72. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  73. <Declaration>- (dispatch_queue_t)delegateQueue</Declaration>
  74. <Anchor>//api/name/delegateQueue</Anchor>
  75. <NodeRef refid="4"/>
  76. </Token>
  77. <Token>
  78. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/setDelegateQueue:</TokenIdentifier>
  79. <Abstract type="html"></Abstract>
  80. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  81. <Declaration>- (void)setDelegateQueue:(dispatch_queue_t)delegateQueue</Declaration>
  82. <Anchor>//api/name/setDelegateQueue:</Anchor>
  83. <NodeRef refid="4"/>
  84. </Token>
  85. <Token>
  86. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/synchronouslySetDelegateQueue:</TokenIdentifier>
  87. <Abstract type="html"></Abstract>
  88. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  89. <Declaration>- (void)synchronouslySetDelegateQueue:(dispatch_queue_t)delegateQueue</Declaration>
  90. <Anchor>//api/name/synchronouslySetDelegateQueue:</Anchor>
  91. <NodeRef refid="4"/>
  92. </Token>
  93. <Token>
  94. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/getDelegate:delegateQueue:</TokenIdentifier>
  95. <Abstract type="html"></Abstract>
  96. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  97. <Declaration>- (void)getDelegate:(id *)delegatePtr delegateQueue:(dispatch_queue_t *)delegateQueuePtr</Declaration>
  98. <Anchor>//api/name/getDelegate:delegateQueue:</Anchor>
  99. <NodeRef refid="4"/>
  100. </Token>
  101. <Token>
  102. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/setDelegate:delegateQueue:</TokenIdentifier>
  103. <Abstract type="html"></Abstract>
  104. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  105. <Declaration>- (void)setDelegate:(id)delegate delegateQueue:(dispatch_queue_t)delegateQueue</Declaration>
  106. <Anchor>//api/name/setDelegate:delegateQueue:</Anchor>
  107. <NodeRef refid="4"/>
  108. </Token>
  109. <Token>
  110. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/synchronouslySetDelegate:delegateQueue:</TokenIdentifier>
  111. <Abstract type="html"></Abstract>
  112. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  113. <Declaration>- (void)synchronouslySetDelegate:(id)delegate delegateQueue:(dispatch_queue_t)delegateQueue</Declaration>
  114. <Anchor>//api/name/synchronouslySetDelegate:delegateQueue:</Anchor>
  115. <NodeRef refid="4"/>
  116. </Token>
  117. <Token>
  118. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/isIPv4Enabled</TokenIdentifier>
  119. <Abstract type="html">By default, both IPv4 and IPv6 are enabled.</Abstract>
  120. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  121. <Declaration>- (BOOL)isIPv4Enabled</Declaration>
  122. <Anchor>//api/name/isIPv4Enabled</Anchor>
  123. <NodeRef refid="4"/>
  124. </Token>
  125. <Token>
  126. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/setIPv4Enabled:</TokenIdentifier>
  127. <Abstract type="html"></Abstract>
  128. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  129. <Declaration>- (void)setIPv4Enabled:(BOOL)flag</Declaration>
  130. <Anchor>//api/name/setIPv4Enabled:</Anchor>
  131. <NodeRef refid="4"/>
  132. </Token>
  133. <Token>
  134. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/isIPv6Enabled</TokenIdentifier>
  135. <Abstract type="html"></Abstract>
  136. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  137. <Declaration>- (BOOL)isIPv6Enabled</Declaration>
  138. <Anchor>//api/name/isIPv6Enabled</Anchor>
  139. <NodeRef refid="4"/>
  140. </Token>
  141. <Token>
  142. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/setIPv6Enabled:</TokenIdentifier>
  143. <Abstract type="html"></Abstract>
  144. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  145. <Declaration>- (void)setIPv6Enabled:(BOOL)flag</Declaration>
  146. <Anchor>//api/name/setIPv6Enabled:</Anchor>
  147. <NodeRef refid="4"/>
  148. </Token>
  149. <Token>
  150. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/isIPv4Preferred</TokenIdentifier>
  151. <Abstract type="html"></Abstract>
  152. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  153. <Declaration>- (BOOL)isIPv4Preferred</Declaration>
  154. <Anchor>//api/name/isIPv4Preferred</Anchor>
  155. <NodeRef refid="4"/>
  156. </Token>
  157. <Token>
  158. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/isIPv6Preferred</TokenIdentifier>
  159. <Abstract type="html"></Abstract>
  160. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  161. <Declaration>- (BOOL)isIPv6Preferred</Declaration>
  162. <Anchor>//api/name/isIPv6Preferred</Anchor>
  163. <NodeRef refid="4"/>
  164. </Token>
  165. <Token>
  166. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/isIPVersionNeutral</TokenIdentifier>
  167. <Abstract type="html"></Abstract>
  168. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  169. <Declaration>- (BOOL)isIPVersionNeutral</Declaration>
  170. <Anchor>//api/name/isIPVersionNeutral</Anchor>
  171. <NodeRef refid="4"/>
  172. </Token>
  173. <Token>
  174. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/setPreferIPv4</TokenIdentifier>
  175. <Abstract type="html"></Abstract>
  176. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  177. <Declaration>- (void)setPreferIPv4</Declaration>
  178. <Anchor>//api/name/setPreferIPv4</Anchor>
  179. <NodeRef refid="4"/>
  180. </Token>
  181. <Token>
  182. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/setPreferIPv6</TokenIdentifier>
  183. <Abstract type="html"></Abstract>
  184. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  185. <Declaration>- (void)setPreferIPv6</Declaration>
  186. <Anchor>//api/name/setPreferIPv6</Anchor>
  187. <NodeRef refid="4"/>
  188. </Token>
  189. <Token>
  190. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/setIPVersionNeutral</TokenIdentifier>
  191. <Abstract type="html"></Abstract>
  192. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  193. <Declaration>- (void)setIPVersionNeutral</Declaration>
  194. <Anchor>//api/name/setIPVersionNeutral</Anchor>
  195. <NodeRef refid="4"/>
  196. </Token>
  197. <Token>
  198. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/maxReceiveIPv4BufferSize</TokenIdentifier>
  199. <Abstract type="html">Gets/Sets the maximum size of the buffer that will be allocated for receive operations.
  200. The default maximum size is 9216 bytes.</Abstract>
  201. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  202. <Declaration>- (uint16_t)maxReceiveIPv4BufferSize</Declaration>
  203. <Anchor>//api/name/maxReceiveIPv4BufferSize</Anchor>
  204. <NodeRef refid="4"/>
  205. </Token>
  206. <Token>
  207. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/setMaxReceiveIPv4BufferSize:</TokenIdentifier>
  208. <Abstract type="html"></Abstract>
  209. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  210. <Declaration>- (void)setMaxReceiveIPv4BufferSize:(uint16_t)max</Declaration>
  211. <Anchor>//api/name/setMaxReceiveIPv4BufferSize:</Anchor>
  212. <NodeRef refid="4"/>
  213. </Token>
  214. <Token>
  215. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/maxReceiveIPv6BufferSize</TokenIdentifier>
  216. <Abstract type="html"></Abstract>
  217. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  218. <Declaration>- (uint32_t)maxReceiveIPv6BufferSize</Declaration>
  219. <Anchor>//api/name/maxReceiveIPv6BufferSize</Anchor>
  220. <NodeRef refid="4"/>
  221. </Token>
  222. <Token>
  223. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/setMaxReceiveIPv6BufferSize:</TokenIdentifier>
  224. <Abstract type="html"></Abstract>
  225. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  226. <Declaration>- (void)setMaxReceiveIPv6BufferSize:(uint32_t)max</Declaration>
  227. <Anchor>//api/name/setMaxReceiveIPv6BufferSize:</Anchor>
  228. <NodeRef refid="4"/>
  229. </Token>
  230. <Token>
  231. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/userData</TokenIdentifier>
  232. <Abstract type="html">User data allows you to associate arbitrary information with the socket.
  233. This data is not used internally in any way.</Abstract>
  234. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  235. <Declaration>- (id)userData</Declaration>
  236. <Anchor>//api/name/userData</Anchor>
  237. <NodeRef refid="4"/>
  238. </Token>
  239. <Token>
  240. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/setUserData:</TokenIdentifier>
  241. <Abstract type="html"></Abstract>
  242. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  243. <Declaration>- (void)setUserData:(id)arbitraryUserData</Declaration>
  244. <Anchor>//api/name/setUserData:</Anchor>
  245. <NodeRef refid="4"/>
  246. </Token>
  247. <Token>
  248. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/localAddress</TokenIdentifier>
  249. <Abstract type="html">Returns the local address info for the socket.</Abstract>
  250. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  251. <Declaration>- (NSData *)localAddress</Declaration>
  252. <Anchor>//api/name/localAddress</Anchor>
  253. <NodeRef refid="4"/>
  254. </Token>
  255. <Token>
  256. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/localHost</TokenIdentifier>
  257. <Abstract type="html"></Abstract>
  258. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  259. <Declaration>- (NSString *)localHost</Declaration>
  260. <Anchor>//api/name/localHost</Anchor>
  261. <NodeRef refid="4"/>
  262. </Token>
  263. <Token>
  264. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/localPort</TokenIdentifier>
  265. <Abstract type="html"></Abstract>
  266. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  267. <Declaration>- (uint16_t)localPort</Declaration>
  268. <Anchor>//api/name/localPort</Anchor>
  269. <NodeRef refid="4"/>
  270. </Token>
  271. <Token>
  272. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/localAddress_IPv4</TokenIdentifier>
  273. <Abstract type="html"></Abstract>
  274. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  275. <Declaration>- (NSData *)localAddress_IPv4</Declaration>
  276. <Anchor>//api/name/localAddress_IPv4</Anchor>
  277. <NodeRef refid="4"/>
  278. </Token>
  279. <Token>
  280. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/localHost_IPv4</TokenIdentifier>
  281. <Abstract type="html"></Abstract>
  282. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  283. <Declaration>- (NSString *)localHost_IPv4</Declaration>
  284. <Anchor>//api/name/localHost_IPv4</Anchor>
  285. <NodeRef refid="4"/>
  286. </Token>
  287. <Token>
  288. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/localPort_IPv4</TokenIdentifier>
  289. <Abstract type="html"></Abstract>
  290. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  291. <Declaration>- (uint16_t)localPort_IPv4</Declaration>
  292. <Anchor>//api/name/localPort_IPv4</Anchor>
  293. <NodeRef refid="4"/>
  294. </Token>
  295. <Token>
  296. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/localAddress_IPv6</TokenIdentifier>
  297. <Abstract type="html"></Abstract>
  298. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  299. <Declaration>- (NSData *)localAddress_IPv6</Declaration>
  300. <Anchor>//api/name/localAddress_IPv6</Anchor>
  301. <NodeRef refid="4"/>
  302. </Token>
  303. <Token>
  304. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/localHost_IPv6</TokenIdentifier>
  305. <Abstract type="html"></Abstract>
  306. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  307. <Declaration>- (NSString *)localHost_IPv6</Declaration>
  308. <Anchor>//api/name/localHost_IPv6</Anchor>
  309. <NodeRef refid="4"/>
  310. </Token>
  311. <Token>
  312. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/localPort_IPv6</TokenIdentifier>
  313. <Abstract type="html"></Abstract>
  314. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  315. <Declaration>- (uint16_t)localPort_IPv6</Declaration>
  316. <Anchor>//api/name/localPort_IPv6</Anchor>
  317. <NodeRef refid="4"/>
  318. </Token>
  319. <Token>
  320. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/connectedAddress</TokenIdentifier>
  321. <Abstract type="html">Returns the remote address info for the socket.</Abstract>
  322. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  323. <Declaration>- (NSData *)connectedAddress</Declaration>
  324. <Anchor>//api/name/connectedAddress</Anchor>
  325. <NodeRef refid="4"/>
  326. </Token>
  327. <Token>
  328. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/connectedHost</TokenIdentifier>
  329. <Abstract type="html"></Abstract>
  330. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  331. <Declaration>- (NSString *)connectedHost</Declaration>
  332. <Anchor>//api/name/connectedHost</Anchor>
  333. <NodeRef refid="4"/>
  334. </Token>
  335. <Token>
  336. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/connectedPort</TokenIdentifier>
  337. <Abstract type="html"></Abstract>
  338. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  339. <Declaration>- (uint16_t)connectedPort</Declaration>
  340. <Anchor>//api/name/connectedPort</Anchor>
  341. <NodeRef refid="4"/>
  342. </Token>
  343. <Token>
  344. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/isConnected</TokenIdentifier>
  345. <Abstract type="html">Returns whether or not this socket has been connected to a single host.
  346. By design, UDP is a connectionless protocol, and connecting is not needed.
  347. If connected, the socket will only be able to send/receive data to/from the connected host.</Abstract>
  348. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  349. <Declaration>- (BOOL)isConnected</Declaration>
  350. <Anchor>//api/name/isConnected</Anchor>
  351. <NodeRef refid="4"/>
  352. </Token>
  353. <Token>
  354. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/isClosed</TokenIdentifier>
  355. <Abstract type="html">Returns whether or not this socket has been closed.
  356. The only way a socket can be closed is if you explicitly call one of the close methods.</Abstract>
  357. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  358. <Declaration>- (BOOL)isClosed</Declaration>
  359. <Anchor>//api/name/isClosed</Anchor>
  360. <NodeRef refid="4"/>
  361. </Token>
  362. <Token>
  363. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/isIPv4</TokenIdentifier>
  364. <Abstract type="html">Returns whether or not this socket is IPv4.</Abstract>
  365. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  366. <Declaration>- (BOOL)isIPv4</Declaration>
  367. <Anchor>//api/name/isIPv4</Anchor>
  368. <NodeRef refid="4"/>
  369. </Token>
  370. <Token>
  371. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/isIPv6</TokenIdentifier>
  372. <Abstract type="html">Returns whether or not this socket is IPv6.</Abstract>
  373. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  374. <Declaration>- (BOOL)isIPv6</Declaration>
  375. <Anchor>//api/name/isIPv6</Anchor>
  376. <NodeRef refid="4"/>
  377. </Token>
  378. <Token>
  379. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/bindToPort:error:</TokenIdentifier>
  380. <Abstract type="html">Binds the UDP socket to the given port.
  381. Binding should be done for server sockets that receive data prior to sending it.
  382. Client sockets can skip binding,
  383. as the OS will automatically assign the socket an available port when it starts sending data.</Abstract>
  384. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  385. <Declaration>- (BOOL)bindToPort:(uint16_t)port error:(NSError **)errPtr</Declaration>
  386. <Anchor>//api/name/bindToPort:error:</Anchor>
  387. <NodeRef refid="4"/>
  388. </Token>
  389. <Token>
  390. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/bindToPort:interface:error:</TokenIdentifier>
  391. <Abstract type="html">Binds the UDP socket to the given port and optional interface.
  392. Binding should be done for server sockets that receive data prior to sending it.
  393. Client sockets can skip binding,
  394. as the OS will automatically assign the socket an available port when it starts sending data.</Abstract>
  395. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  396. <Declaration>- (BOOL)bindToPort:(uint16_t)port interface:(NSString *)interface error:(NSError **)errPtr</Declaration>
  397. <Anchor>//api/name/bindToPort:interface:error:</Anchor>
  398. <NodeRef refid="4"/>
  399. </Token>
  400. <Token>
  401. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/bindToAddress:error:</TokenIdentifier>
  402. <Abstract type="html">Binds the UDP socket to the given address, specified as a sockaddr structure wrapped in a NSData object.</Abstract>
  403. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  404. <Declaration>- (BOOL)bindToAddress:(NSData *)localAddr error:(NSError **)errPtr</Declaration>
  405. <Anchor>//api/name/bindToAddress:error:</Anchor>
  406. <NodeRef refid="4"/>
  407. </Token>
  408. <Token>
  409. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/connectToHost:onPort:error:</TokenIdentifier>
  410. <Abstract type="html">Connects the UDP socket to the given host and port.
  411. By design, UDP is a connectionless protocol, and connecting is not needed.</Abstract>
  412. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  413. <Declaration>- (BOOL)connectToHost:(NSString *)host onPort:(uint16_t)port error:(NSError **)errPtr</Declaration>
  414. <Anchor>//api/name/connectToHost:onPort:error:</Anchor>
  415. <NodeRef refid="4"/>
  416. </Token>
  417. <Token>
  418. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/connectToAddress:error:</TokenIdentifier>
  419. <Abstract type="html">Connects the UDP socket to the given address, specified as a sockaddr structure wrapped in a NSData object.</Abstract>
  420. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  421. <Declaration>- (BOOL)connectToAddress:(NSData *)remoteAddr error:(NSError **)errPtr</Declaration>
  422. <Anchor>//api/name/connectToAddress:error:</Anchor>
  423. <NodeRef refid="4"/>
  424. </Token>
  425. <Token>
  426. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/joinMulticastGroup:error:</TokenIdentifier>
  427. <Abstract type="html">Join multicast group.
  428. Group should be an IP address (eg @&quot;225.228.0.1&quot;).</Abstract>
  429. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  430. <Declaration>- (BOOL)joinMulticastGroup:(NSString *)group error:(NSError **)errPtr</Declaration>
  431. <Anchor>//api/name/joinMulticastGroup:error:</Anchor>
  432. <NodeRef refid="4"/>
  433. </Token>
  434. <Token>
  435. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/joinMulticastGroup:onInterface:error:</TokenIdentifier>
  436. <Abstract type="html">Join multicast group.
  437. Group should be an IP address (eg @&quot;225.228.0.1&quot;).
  438. The interface may be a name (e.g. &quot;en1&quot; or &quot;lo0&quot;) or the corresponding IP address (e.g. &quot;192.168.4.35&quot;).</Abstract>
  439. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  440. <Declaration>- (BOOL)joinMulticastGroup:(NSString *)group onInterface:(NSString *)interface error:(NSError **)errPtr</Declaration>
  441. <Anchor>//api/name/joinMulticastGroup:onInterface:error:</Anchor>
  442. <NodeRef refid="4"/>
  443. </Token>
  444. <Token>
  445. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/leaveMulticastGroup:error:</TokenIdentifier>
  446. <Abstract type="html"></Abstract>
  447. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  448. <Declaration>- (BOOL)leaveMulticastGroup:(NSString *)group error:(NSError **)errPtr</Declaration>
  449. <Anchor>//api/name/leaveMulticastGroup:error:</Anchor>
  450. <NodeRef refid="4"/>
  451. </Token>
  452. <Token>
  453. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/leaveMulticastGroup:onInterface:error:</TokenIdentifier>
  454. <Abstract type="html"></Abstract>
  455. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  456. <Declaration>- (BOOL)leaveMulticastGroup:(NSString *)group onInterface:(NSString *)interface error:(NSError **)errPtr</Declaration>
  457. <Anchor>//api/name/leaveMulticastGroup:onInterface:error:</Anchor>
  458. <NodeRef refid="4"/>
  459. </Token>
  460. <Token>
  461. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/enableBroadcast:error:</TokenIdentifier>
  462. <Abstract type="html">By default, the underlying socket in the OS will not allow you to send broadcast messages.
  463. In order to send broadcast messages, you need to enable this functionality in the socket.</Abstract>
  464. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  465. <Declaration>- (BOOL)enableBroadcast:(BOOL)flag error:(NSError **)errPtr</Declaration>
  466. <Anchor>//api/name/enableBroadcast:error:</Anchor>
  467. <NodeRef refid="4"/>
  468. </Token>
  469. <Token>
  470. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/sendData:withTimeout:tag:</TokenIdentifier>
  471. <Abstract type="html">Asynchronously sends the given data, with the given timeout and tag.</Abstract>
  472. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  473. <Declaration>- (void)sendData:(NSData *)data withTimeout:(NSTimeInterval)timeout tag:(long)tag</Declaration>
  474. <Anchor>//api/name/sendData:withTimeout:tag:</Anchor>
  475. <NodeRef refid="4"/>
  476. </Token>
  477. <Token>
  478. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/sendData:toHost:port:withTimeout:tag:</TokenIdentifier>
  479. <Abstract type="html">Asynchronously sends the given data, with the given timeout and tag, to the given host and port.</Abstract>
  480. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  481. <Declaration>- (void)sendData:(NSData *)data toHost:(NSString *)host port:(uint16_t)port withTimeout:(NSTimeInterval)timeout tag:(long)tag</Declaration>
  482. <Anchor>//api/name/sendData:toHost:port:withTimeout:tag:</Anchor>
  483. <NodeRef refid="4"/>
  484. </Token>
  485. <Token>
  486. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/sendData:toAddress:withTimeout:tag:</TokenIdentifier>
  487. <Abstract type="html">Asynchronously sends the given data, with the given timeout and tag, to the given address.</Abstract>
  488. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  489. <Declaration>- (void)sendData:(NSData *)data toAddress:(NSData *)remoteAddr withTimeout:(NSTimeInterval)timeout tag:(long)tag</Declaration>
  490. <Anchor>//api/name/sendData:toAddress:withTimeout:tag:</Anchor>
  491. <NodeRef refid="4"/>
  492. </Token>
  493. <Token>
  494. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/setSendFilter:withQueue:</TokenIdentifier>
  495. <Abstract type="html">You may optionally set a send filter for the socket.
  496. A filter can provide several interesting possibilities:</Abstract>
  497. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  498. <Declaration>- (void)setSendFilter:(GCDAsyncUdpSocketSendFilterBlock)filterBlock withQueue:(dispatch_queue_t)filterQueue</Declaration>
  499. <Anchor>//api/name/setSendFilter:withQueue:</Anchor>
  500. <NodeRef refid="4"/>
  501. </Token>
  502. <Token>
  503. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/setSendFilter:withQueue:isAsynchronous:</TokenIdentifier>
  504. <Abstract type="html">The receive filter can be run via dispatchasync or dispatchsync.
  505. Most typical situations call for asynchronous operation.</Abstract>
  506. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  507. <Declaration>- (void)setSendFilter:(GCDAsyncUdpSocketSendFilterBlock)filterBlock withQueue:(dispatch_queue_t)filterQueue isAsynchronous:(BOOL)isAsynchronous</Declaration>
  508. <Anchor>//api/name/setSendFilter:withQueue:isAsynchronous:</Anchor>
  509. <NodeRef refid="4"/>
  510. </Token>
  511. <Token>
  512. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/receiveOnce:</TokenIdentifier>
  513. <Abstract type="html">There are two modes of operation for receiving packets: one-at-a-time &amp;amp; continuous.</Abstract>
  514. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  515. <Declaration>- (BOOL)receiveOnce:(NSError **)errPtr</Declaration>
  516. <Anchor>//api/name/receiveOnce:</Anchor>
  517. <NodeRef refid="4"/>
  518. </Token>
  519. <Token>
  520. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/beginReceiving:</TokenIdentifier>
  521. <Abstract type="html">There are two modes of operation for receiving packets: one-at-a-time &amp;amp; continuous.</Abstract>
  522. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  523. <Declaration>- (BOOL)beginReceiving:(NSError **)errPtr</Declaration>
  524. <Anchor>//api/name/beginReceiving:</Anchor>
  525. <NodeRef refid="4"/>
  526. </Token>
  527. <Token>
  528. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/pauseReceiving</TokenIdentifier>
  529. <Abstract type="html">If the socket is currently receiving (beginReceiving has been called), this method pauses the receiving.
  530. That is, it won&apos;t read any more packets from the underlying OS socket until beginReceiving is called again.</Abstract>
  531. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  532. <Declaration>- (void)pauseReceiving</Declaration>
  533. <Anchor>//api/name/pauseReceiving</Anchor>
  534. <NodeRef refid="4"/>
  535. </Token>
  536. <Token>
  537. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/setReceiveFilter:withQueue:</TokenIdentifier>
  538. <Abstract type="html">You may optionally set a receive filter for the socket.
  539. This receive filter may be set to run in its own queue (independent of delegate queue).</Abstract>
  540. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  541. <Declaration>- (void)setReceiveFilter:(GCDAsyncUdpSocketReceiveFilterBlock)filterBlock withQueue:(dispatch_queue_t)filterQueue</Declaration>
  542. <Anchor>//api/name/setReceiveFilter:withQueue:</Anchor>
  543. <NodeRef refid="4"/>
  544. </Token>
  545. <Token>
  546. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/setReceiveFilter:withQueue:isAsynchronous:</TokenIdentifier>
  547. <Abstract type="html">The receive filter can be run via dispatchasync or dispatchsync.
  548. Most typical situations call for asynchronous operation.</Abstract>
  549. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  550. <Declaration>- (void)setReceiveFilter:(GCDAsyncUdpSocketReceiveFilterBlock)filterBlock withQueue:(dispatch_queue_t)filterQueue isAsynchronous:(BOOL)isAsynchronous</Declaration>
  551. <Anchor>//api/name/setReceiveFilter:withQueue:isAsynchronous:</Anchor>
  552. <NodeRef refid="4"/>
  553. </Token>
  554. <Token>
  555. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/close</TokenIdentifier>
  556. <Abstract type="html">Immediately closes the underlying socket.
  557. Any pending send operations are discarded.</Abstract>
  558. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  559. <Declaration>- (void)close</Declaration>
  560. <Anchor>//api/name/close</Anchor>
  561. <NodeRef refid="4"/>
  562. </Token>
  563. <Token>
  564. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/closeAfterSending</TokenIdentifier>
  565. <Abstract type="html">Closes the underlying socket after all pending send operations have been sent.</Abstract>
  566. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  567. <Declaration>- (void)closeAfterSending</Declaration>
  568. <Anchor>//api/name/closeAfterSending</Anchor>
  569. <NodeRef refid="4"/>
  570. </Token>
  571. <Token>
  572. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/performBlock:</TokenIdentifier>
  573. <Abstract type="html">It&apos;s not thread-safe to access certain variables from outside the socket&apos;s internal queue.</Abstract>
  574. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  575. <Declaration>- (void)performBlock:(dispatch_block_t)block</Declaration>
  576. <Anchor>//api/name/performBlock:</Anchor>
  577. <NodeRef refid="4"/>
  578. </Token>
  579. <Token>
  580. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/socketFD</TokenIdentifier>
  581. <Abstract type="html">These methods are only available from within the context of a performBlock: invocation.
  582. See the documentation for the performBlock: method above.</Abstract>
  583. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  584. <Declaration>- (int)socketFD</Declaration>
  585. <Anchor>//api/name/socketFD</Anchor>
  586. <NodeRef refid="4"/>
  587. </Token>
  588. <Token>
  589. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/socket4FD</TokenIdentifier>
  590. <Abstract type="html"></Abstract>
  591. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  592. <Declaration>- (int)socket4FD</Declaration>
  593. <Anchor>//api/name/socket4FD</Anchor>
  594. <NodeRef refid="4"/>
  595. </Token>
  596. <Token>
  597. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/socket6FD</TokenIdentifier>
  598. <Abstract type="html"></Abstract>
  599. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  600. <Declaration>- (int)socket6FD</Declaration>
  601. <Anchor>//api/name/socket6FD</Anchor>
  602. <NodeRef refid="4"/>
  603. </Token>
  604. <Token>
  605. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/readStream</TokenIdentifier>
  606. <Abstract type="html">These methods are only available from within the context of a performBlock: invocation.
  607. See the documentation for the performBlock: method above.</Abstract>
  608. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  609. <Declaration>- (CFReadStreamRef)readStream</Declaration>
  610. <Anchor>//api/name/readStream</Anchor>
  611. <NodeRef refid="4"/>
  612. </Token>
  613. <Token>
  614. <TokenIdentifier>//apple_ref/occ/instm/GCDAsyncUdpSocket/writeStream</TokenIdentifier>
  615. <Abstract type="html"></Abstract>
  616. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  617. <Declaration>- (CFWriteStreamRef)writeStream</Declaration>
  618. <Anchor>//api/name/writeStream</Anchor>
  619. <NodeRef refid="4"/>
  620. </Token>
  621. <Token>
  622. <TokenIdentifier>//apple_ref/occ/clm/GCDAsyncUdpSocket/hostFromAddress:</TokenIdentifier>
  623. <Abstract type="html">Extracting host/port/family information from raw address data.</Abstract>
  624. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  625. <Declaration>+ (NSString *)hostFromAddress:(NSData *)address</Declaration>
  626. <Anchor>//api/name/hostFromAddress:</Anchor>
  627. <NodeRef refid="4"/>
  628. </Token>
  629. <Token>
  630. <TokenIdentifier>//apple_ref/occ/clm/GCDAsyncUdpSocket/portFromAddress:</TokenIdentifier>
  631. <Abstract type="html"></Abstract>
  632. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  633. <Declaration>+ (uint16_t)portFromAddress:(NSData *)address</Declaration>
  634. <Anchor>//api/name/portFromAddress:</Anchor>
  635. <NodeRef refid="4"/>
  636. </Token>
  637. <Token>
  638. <TokenIdentifier>//apple_ref/occ/clm/GCDAsyncUdpSocket/familyFromAddress:</TokenIdentifier>
  639. <Abstract type="html"></Abstract>
  640. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  641. <Declaration>+ (int)familyFromAddress:(NSData *)address</Declaration>
  642. <Anchor>//api/name/familyFromAddress:</Anchor>
  643. <NodeRef refid="4"/>
  644. </Token>
  645. <Token>
  646. <TokenIdentifier>//apple_ref/occ/clm/GCDAsyncUdpSocket/isIPv4Address:</TokenIdentifier>
  647. <Abstract type="html"></Abstract>
  648. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  649. <Declaration>+ (BOOL)isIPv4Address:(NSData *)address</Declaration>
  650. <Anchor>//api/name/isIPv4Address:</Anchor>
  651. <NodeRef refid="4"/>
  652. </Token>
  653. <Token>
  654. <TokenIdentifier>//apple_ref/occ/clm/GCDAsyncUdpSocket/isIPv6Address:</TokenIdentifier>
  655. <Abstract type="html"></Abstract>
  656. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  657. <Declaration>+ (BOOL)isIPv6Address:(NSData *)address</Declaration>
  658. <Anchor>//api/name/isIPv6Address:</Anchor>
  659. <NodeRef refid="4"/>
  660. </Token>
  661. <Token>
  662. <TokenIdentifier>//apple_ref/occ/clm/GCDAsyncUdpSocket/getHost:port:fromAddress:</TokenIdentifier>
  663. <Abstract type="html"></Abstract>
  664. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  665. <Declaration>+ (BOOL)getHost:(NSString **)hostPtr port:(uint16_t *)portPtr fromAddress:(NSData *)address</Declaration>
  666. <Anchor>//api/name/getHost:port:fromAddress:</Anchor>
  667. <NodeRef refid="4"/>
  668. </Token>
  669. <Token>
  670. <TokenIdentifier>//apple_ref/occ/clm/GCDAsyncUdpSocket/getHost:port:family:fromAddress:</TokenIdentifier>
  671. <Abstract type="html"></Abstract>
  672. <DeclaredIn>GCDAsyncUdpSocket.h</DeclaredIn>
  673. <Declaration>+ (BOOL)getHost:(NSString **)hostPtr port:(uint16_t *)portPtr family:(int *)afPtr fromAddress:(NSData *)address</Declaration>
  674. <Anchor>//api/name/getHost:port:family:fromAddress:</Anchor>
  675. <NodeRef refid="4"/>
  676. </Token>
  677. </File>
  678. </Tokens>