I try to do this: go run chapter11.2.go 127.0.0.1 and the program runs successfullly.Thank you so much.But I don't know why.Other prgrams don't need to add 127.0.0.1,what"s the principle? 在 2017年10月24日星期二 UTC+8下午9:57:03,Ian Lance Taylor写道: > > On Tue, Oct 24, 2017 at 5:18 AM, <28911...@gmail.com <javascript:>> > wrote: > > > > So how to modify it? I don't know clearly.Would you mind helping ,me to > > solve this problem? > > What problem? What do you expect to happen? > > The error message is telling you that the program expects an IP > address on the command line. You could, for example, do this: > go run chapter11.2.go 127.0.0.1 > > Ian > > > > 在 2017年10月24日星期二 UTC+8下午3:06:00,Dave Cheney写道: > >> > >> The program you are trying to run requires an argument, an ip address > >> > >> On Tuesday, 24 October 2017 18:03:00 UTC+11, 28911...@gmail.com wrote: > >>> > >>> Sorry.I see the bug in Sublime Text3 and I can't find the errors.At > the > >>> sane time, I can't solve this problem.It's strange but it can run > other > >>> programmings. > >>> > >>> 在 2017年10月23日星期一 UTC+8下午11:28:20,Jan Mercl写道: > >>>> > >>>> On Mon, Oct 23, 2017 at 5:23 PM <28911...@gmail.com> wrote: > >>>> > >>>> what bug do you see and where? > >>>> > >>>> > >>>> -- > >>>> > >>>> -j > > > > -- > > 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...@googlegroups.com <javascript:>. > > For more options, visit https://groups.google.com/d/optout. >
-- 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.