NamedNetAddr			selective network address

superclass: NetAddr

This class can be used to simulate networked systems on a single computer. 

	*new(name, hostname, port)
	
		return a new instance of NamedNetAddr, that sends to a name only.
		
		name - receiver's name
		hostname  - a string, either an ip number (e.g. "192.168.34.56") if hostname is not given, broadcast will be used, i.e. messages are sent to everyone on the local network.
		port - a port number. default:  57120. Note: to send messages internally, the standard loopback ip is used: "127.0.0.1"	

	makeResponder(addr, cmd, func)
		
		return an OSCresponderNode that listens to the command with the given name only.
		if addr is given, it listens only to the given addr.

	
	sendNamedMsg(... args)
		send a message with the name encoding, 
		so that it is received by a responder (created by makeResponder)

Example

// example using network broadcast
// if no addr is given, broadcast is used.

a = NamedNetAddr(\alphons); 
b = NamedNetAddr(\bettina);
c = NamedNetAddr(\gunnar);

r = a.makeResponder(nil, '/help', {|t,r,msg| msg.postln });
r.add;

a.sendNamedMsg('/help', "me");
c.sendNamedMsg('/help', "me"); // no reception, this is correct: only 'a' has a responder.

l = c.makeResponder(nil, '/help', {|t,r,msg| "% -------- %\n".postf(msg[0], msg[1]) });
l.add;

a.sendNamedMsg('/help', "me");
c.sendNamedMsg('/help', "you"); // now it arrives.

r.remove;
l.remove;
[a, b, c].do(_.disconnect);