[go-nuts] ping

1,820 views
Skip to first unread message

enigma

unread,
Mar 17, 2010, 11:08:51 PM3/17/10
to golang-nuts
Being a newbie, i was wondering how to send ICMP echo requests with
Go. Any ideas would be very helpful.

Thanks

Russ Cox

unread,
Mar 18, 2010, 1:48:06 AM3/18/10
to enigma, golang-nuts
On Wed, Mar 17, 2010 at 20:08, enigma <enigma....@gmail.com> wrote:
> Being a newbie, i was wondering how to send ICMP echo requests with
> Go. Any ideas would be very helpful.

There's no support for sending ICMP echo requests.
You'd have to add support to package net.
See $GOROOT/src/pkg/net.

Russ

Reply all
Reply to author
Forward
0 new messages