]> Cypherpunks repositories - gostls13.git/commit
net: make WriteTo, WriteToIP and WriteMsgIP fail when IPConn is already connected
authorMikio Hara <mikioh.mikioh@gmail.com>
Tue, 29 Apr 2014 03:37:16 +0000 (12:37 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Tue, 29 Apr 2014 03:37:16 +0000 (12:37 +0900)
commit7e41abbc6b9f00f84374c69f3acb63b56fcf4728
tree9b1826ef8d65d547379663619eda1426da17c85b
parent4cc708ae1dc5fd6b8a04ee884e34303b81ddd223
net: make WriteTo, WriteToIP and WriteMsgIP fail when IPConn is already connected

This CL tries to fill the gap between Linux and other Unix-like systems
in the same way UDPConn and UnixConn already did.

Fixes #7887.

LGTM=iant
R=iant
CC=golang-codereviews
https://golang.org/cl/97810043
src/pkg/net/iprawsock_posix.go