Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

求助大侠, 运行出错 #2

Open
todaygood opened this issue Aug 21, 2018 · 1 comment
Open

求助大侠, 运行出错 #2

todaygood opened this issue Aug 21, 2018 · 1 comment

Comments

@todaygood
Copy link

hi,

我是一名golang新手,为学习golang,用了一下kping package

[root@ src]# strace -o a.txt ./use_kping  
2018/08/21 16:16:41 set write timeout failed: setsockopt: numerical argument out of domain

BTW , kping.NewPinger 中的IP是我机器上用来上网的IP地址。

@opsnull
Copy link
Owner

opsnull commented Mar 7, 2019

可以看下你的 use_kping 代码么?看起来是传入的参数越界了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants