io.Copy is going to read from one stream and write to the other, until the read stream is closed. "Copy copies from src to dst until either EOF is reached on src or an error occurs." So until you close the stream on your side (i.e. end the telnet session), your Go code is still sitting at that io.Copy line, and has not reached the io.Close.
Howard -- 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.