#
inner
IpxAllNodes(data, nodes)
Send data to all nodes in array.
Parameters:
Name |
Type |
Description |
data |
string
|
the data to send |
nodes |
Array.<IpxAddress>
|
the node addresses to send to. |
View Source
jsboot/ipx.js, line 124
#
inner
IpxDebug(str)
Send logmessages to logviewer using IPX networking.
Parameters:
Name |
Type |
Description |
str |
string
|
logmessage to send. |
View Source
jsboot/ipx.js, line 150
#
inner
IpxFindNodes(num, nodes) → {boolean}
discover nodes on the network.
Parameters:
Name |
Type |
Description |
num |
integer
|
total number of nodes to search for (including the local node). |
nodes |
Array.<IpxAddress>
|
an array to store the discovered nodes in. |
View Source
jsboot/ipx.js, line 86
true if the wanted number of nodes was discovered, else false. The nodes array will contain the addresses of all found nodes.
boolean
#
inner
IpxSend(data, dest)
Send packet via IPX. Max length 79 byte. Node addresses are arrays of 6 numbers between 0-255. See IPX for BROADCAST address.
Parameters:
Name |
Type |
Description |
data |
string
|
data to send. |
dest |
IpxAddress
|
destination address. |
View Source
doc/internal.js, line 78
#
inner
IpxSocketOpen(num)
Open an IPX socket. See IPX for DEFAULT_SOCKET.
Parameters:
Name |
Type |
Description |
num |
*
|
the socket number to use. |
View Source
doc/internal.js, line 66
#
inner
IpxStringToAddress(addr) → {IpxAddress}
Convert an address in hex-string notation back to an JS array.
Parameters:
Name |
Type |
Description |
addr |
*
|
a string of 6 hex numbers separated by ':'. |
View Source
jsboot/ipx.js, line 62