net: document that DialIP can only be used with WriteMsgIP of Connection-less protocols #23230
Labels
Milestone
Comments
/cc @mikioh |
Change https://golang.org/cl/86576 mentions this issue: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.9.2 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?What did you do?
WriteMsgIP
can't be used afterDialIP
to TCPWhat did you expect to see?
It doesn't work. Error appears:
write ip 127.0.0.1->127.0.0.1: use of WriteTo with pre-connected connection
.It seems
DialIP
can't be used withWriteMsgIP
and I want this to be documented.What did you see instead?
No documentation.
The text was updated successfully, but these errors were encountered: