User Tools

Site Tools


en:code:data:udp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
en:code:data:udp [2011/10/01 22:29] – [readText] jmgren:code:data:udp [2013/06/13 07:19] jmgr
Line 59: Line 59:
 === Notes === === Notes ===
 This method is asynchronous, this means that it will return before a connection is established. This method is asynchronous, this means that it will return before a connection is established.
-To known when a connection is made use the [[#onConnected|onConnected]] event or the [[#waitForConnected|waitForConnected]] method.+To know when a connection is made use the [[#onConnected|onConnected]] event or the [[#waitForConnected|waitForConnected]] method.
  
 ==== write ==== ==== write ====
Line 77: Line 77:
 === Notes === === Notes ===
 This method is asynchronous, this means that it will return before the data has been written. This method is asynchronous, this means that it will return before the data has been written.
-Due to the unreliable nature of UDP you have no means to known if the data has arrived.+Due to the unreliable nature of UDP you have no means to know if the data has arrived.
  
 ==== writeText ==== ==== writeText ====
Line 95: Line 95:
 === Notes === === Notes ===
 This method is asynchronous, this means that it will return before the data has been written. This method is asynchronous, this means that it will return before the data has been written.
-Due to the unreliable nature of UDP you have no means to known if the data has arrived.+Due to the unreliable nature of UDP you have no means to know if the data has arrived.
  
 ==== disconnect ==== ==== disconnect ====
Line 113: Line 113:
 === Notes === === Notes ===
 This method is asynchronous, this means that it will return before the connection is closed. This method is asynchronous, this means that it will return before the connection is closed.
-To known when the connection is closed use the [[#onDisconnected|onDisconnected]] event or the [[#waitForDisconnected|waitForDisconnected]] method.+To know when the connection is closed use the [[#onDisconnected|onDisconnected]] event or the [[#waitForDisconnected|waitForDisconnected]] method.
  
 ==== read ==== ==== read ====
Line 127: Line 127:
  
 === Notes === === Notes ===
-To known when data is available use the [[#onReadyRead|onReadyRead]] event or the [[#waitForReadyRead|waitForReadyRead]] method.+To know when data is available use the [[#onReadyRead|onReadyRead]] event or the [[#waitForReadyRead|waitForReadyRead]] method.
  
 ==== readText ==== ==== readText ====
Line 147: Line 147:
  
 === Notes === === Notes ===
-To known when text is available use the [[#onReadyRead|onReadyRead]] event or the [[#waitForReadyRead|waitForReadyRead]] method.+To know when text is available use the [[#onReadyRead|onReadyRead]] event or the [[#waitForReadyRead|waitForReadyRead]] method.
  
 ==== waitForConnected ==== ==== waitForConnected ====
en/code/data/udp.txt · Last modified: 2021/02/13 11:23 by 127.0.0.1