I'm pretty sure you can use the Dial method above, DialTCP was added to avoid 
using the DNS server at the remote end (I think, it's been years)

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to