Groups
Groups
Sign in
Groups
Groups
Shanghai Linux User Group
Conversations
Labels
About
Send feedback
Help
[shlug] socket 的问题
14 views
Skip to first unread message
Yuan Zhang
unread,
Sep 4, 2010, 5:34:35 AM
9/4/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to shlug
在网上下了一个icmpaddrmask的源码,然后编译之后,我就在机子上测试,于是出现如下问题(源码没有错误,是tcp/ip详解的小例子):
edward@yuan-desktop:~$ icmpaddrmask 192.168.1.1
socket: Operation not permitted
socket 操作不允许,这是什么原因?
--
沉之 and fall
Cheng
unread,
Sep 4, 2010, 5:35:42 AM
9/4/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sh...@googlegroups.com
用root身份run
2010/9/4 Yuan Zhang
<
zhangyua...@gmail.com
>
Yuan Zhang
unread,
Sep 4, 2010, 5:38:40 AM
9/4/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sh...@googlegroups.com
没有用哦,还是操作不允许哦。
2010/9/4 Cheng
<
jimc...@gmail.com
>
--
沉之 and fall
丁一恒
unread,
Sep 6, 2010, 12:48:15 AM
9/6/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sh...@googlegroups.com
你是sudo的,还是su - ?
YuanG Chang
unread,
Sep 6, 2010, 1:10:17 AM
9/6/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sh...@googlegroups.com
我开始只是以sudo执行程序,可是操作不允许,后面改成以root身份执行就可以,就是总是time out。
2010/9/6 丁一恒
<
dingy...@gmail.com
>
--
沉之 and fall
丁一恒
unread,
Sep 6, 2010, 1:20:43 AM
9/6/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sh...@googlegroups.com
你应该把请求发送给广播地址,比如192.168.1.255
Reply all
Reply to author
Forward
0 new messages