Chinaunix首页 | 论坛 | 博客
  • 博客访问: 715879
  • 博文数量: 130
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 2198
  • 用 户 组: 普通用户
  • 注册时间: 2011-11-29 12:48
个人简介

每一个“丑得人神共愤”的泡妞高 手都有一颗坚忍的心,这证明了人类 在绝境中毫不妥协的求生精神,反正丑都丑了,索性放开手脚大干一场,这就叫“无产阶级失去的是锁链,得到的是全世界”

文章分类

全部博文(130)

文章存档

2013年(130)

我的朋友

分类: LINUX

2013-09-09 10:21:30

这个问题很可能出在addrlen参数上,以下是man文档的解释
  1. If src_addr is not NULL, and the underlying protocol provides the
  2. source address, this source address is filled in. When src_addr is
  3. NULL, nothing is filled in; in this case, addrlen is not used, and
  4. should also be NULL. The argument addrlen is a value-result argument,
  5. which the caller should initialize before the call to the size of the
  6. buffer associated with src_addr, and modified on return to indicate the
  7. actual size of the source address. The returned address is truncated
  8. if the buffer provided is too small; in this case, addrlen will return
  9. a value greater than was supplied to the call.

阅读(3312) | 评论(0) | 转发(0) |
0

上一篇:【转】修改网卡MAC地址

下一篇:169.254.0.0

给主人留下些什么吧!~~