thanks all for the suggestions. digging through the source of sshnet.c and the go net library i think i understand.
the plan9 runtime library assumes, and insists the string returned from /net/cs contains a valid ip address. the code in sshnet which serves a /net/cs does a local ndb lookup, and if that fails, returns the dns name it was given. i guess this is to allow name resolution to be tried at the remote host. i shall experiment a bit more. -Steve ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T774469ff9f943e45-M892fd19deed0c0a02dd942a8 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription