net: ListenIP doesn't support Linux-specific ICMP echo-only socket #9166
Labels
Comments
Thanks but no thanks. it's a protocol stack inside Linux kernel specific feature, also it cannot receive/send other ICMP type messages. You can make your Linux+ICMP echo-specific socket using syscall.Socket and make it run with runtime-integrated network poller by using net.FilePacketConn. Labels changed: added repo-main. Status changed to Unfortunate. |
> if it doesn't work well, please open a new issue. fyi: it works well. see attached. Attachments:
|
CL https://golang.org/cl/182110043 mentions this issue. |
This issue was updated by revision golang/net@fc168c3. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/182110043 |
fwiw, now golang.org/x/net/icmp supports non-privileged datagram-oriented icmp socket. see http://godoc.org/golang.org/x/net/icmp for further information. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: