How to use computer's name instead of ip address for OSCIN

Hi,

I am trying to communicate between two different computers, a Windows and a MAC with OSC on the same network.

When going between a Mac, you can use the computers name, with bonjour, something like

computername.local instead of having to retype the ip each time.

I am wondering:

How I would do this in Touch. Meaning, how can I use the Mac’s computer name instead of its ip in the OSCOUT Network Address parameter and what ‘computer name’ should I use on the mac to receive from touch.

If this were two Macs on the same network Bonjour / Zeroconfig would make it as easy as typing in the computers names in each field.

You could use a Python bonjour module. I’m not sure how mac computer names work for Windows automatic name resolution. On Windows you can usually just use the hostname, although it’s not 100% certain since sometimes the hostname isn’t registered with the name server on the network.

You could probably also add some entries to your machine’s hosts file.
[url]http://en.wikipedia.org/wiki/Hosts_(file)[/url]