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 revision Previous revision
Next revision
Previous revision
en:code:data:udp [2011/10/02 00:29]
jmgr [readText]
en:code:data:udp [2016/10/09 11:10] (current)
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: 2016/10/09 11:10 (external edit)