Yes, you're right. Thannk you.
在 2017年3月8日星期三 UTC+8上午12:05:33,Howard C. Shaw III写道: > > 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.