create new net address.
a String, either an IP number (e.g. "192.168.34.56") or a hostname such as "otherHost.local".
a port number, like 57110.
create new net address using an integer IP number.
Get the port sclang is currently listening on (may change after a recompile).
Get a NetAddr which corresponds to localhost and the port sclang is listening on.
close all TCP connections.
Get or set the broadcast flag (whether or not broadcast messages can be sent).
Test an IP address to see if it matches that of one of the NICs on this computer.
A String to test containing an IP number in dot decimal notation (e.g. "192.168.34.56").
A Boolean indicating whether a match was found.
A copy of the IdentityDictionary with all open TCP connections.
Convert the argument list to an OSC message and send it to the NetAddr without a timestamp. The first argument is the OSC address, and the remaining arguments are the arguments in the OSC message. If you leave off the initial "/" in the OSC address, one will be prepended. The technical details of how sclang objects are converted to OSC messages is given in the OSC Communication helpfile.
send a bundle with timestamp to the addr.
send a raw message without timestamp to the addr.
open TCP connection.
called when the connection is closed (either by the client or by the server).
close TCP connection.
returns the ip number (as a String).
Test if this NetAddr ip number matches that of one of this hosts NICs, or the loopback address.