en:code:data:udp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
code:data:udp [2011/01/27 21:09] – jmgr | en:code:data:udp [2021/02/13 11:23] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 59: | Line 59: | ||
=== Notes === | === Notes === | ||
This method is asynchronous, | This method is asynchronous, | ||
- | To known when a connection is made use the [[# | + | To know when a connection is made use the [[# |
==== write ==== | ==== write ==== | ||
Line 77: | Line 77: | ||
=== Notes === | === Notes === | ||
This method is asynchronous, | This method is asynchronous, | ||
- | 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 method is asynchronous, | ||
- | 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 method is asynchronous, | ||
- | To known when the connection is closed use the [[# | + | To know when the connection is closed use the [[# |
==== read ==== | ==== read ==== | ||
Line 127: | Line 127: | ||
=== Notes === | === Notes === | ||
- | To known when data is available use the [[# | + | To know when data is available use the [[# |
==== readText ==== | ==== readText ==== | ||
Line 141: | Line 141: | ||
=== Arguments === | === Arguments === | ||
- | - encoding - ([[code: | + | - encoding - ([[en:code: |
=== Returns === | === Returns === | ||
Line 147: | Line 147: | ||
=== Notes === | === Notes === | ||
- | To known when text is available use the [[# | + | To know when text is available use the [[# |
==== waitForConnected ==== | ==== waitForConnected ==== | ||
Line 281: | Line 281: | ||
==== OpenMode ==== | ==== OpenMode ==== | ||
- | File open mode. | + | Udp open mode. |
=== Values === | === Values === | ||
Line 293: | Line 293: | ||
Example: | Example: | ||
<code javascript> | <code javascript> | ||
- | myObject.connect(" | + | myObject.connect(" |
</ | </ |
en/code/data/udp.1296162555.txt.gz · Last modified: 2021/02/13 11:23 (external edit)