[go-nuts] Re: Question for "net" package experts

2019-02-15 Thread John Dreystadt
Ah, thanks. Now I understand, the need was to distinguish the value. I wonder if there might be some way to document this a bit better. Not a high priority but I will see if I can come up with anything. -- You received this message because you are subscribed to the Google Groups "golang-nuts"

[go-nuts] Re: Question for "net" package experts

2019-02-14 Thread mikioh . public . networking
> but not really an answer. I was asking if there is some meaning for this value. oh, sorry, i misunderstood your question. the returned value from the network method of the net.addr interface can be used to pass to connection setup and endpoint resolving functions as an argument. at that poin

[go-nuts] Re: Question for "net" package experts

2019-02-14 Thread John Dreystadt
The docs state “Network returns the address's network name, "ip+net".” which is accurate but not really an answer. I was asking if there is some meaning for this value. If it was just “ip” this would actually make more sense to me because it would indicate that TCP and UDP were both supported,

[go-nuts] Re: Question for "net" package experts

2019-02-14 Thread mikioh . public . networking
the docs on the network method of ipnet mentions "ip+net". -- 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 opti