net: document that DialIP can only be used with WriteMsgIP of Connection-less protocols #23230
Labels
Documentation
Issues describing a change to documentation.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
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: