基本结构
(这部分的地址均为网络地址)
1、struct sockaddr:通用套接字地址结构
此结构用于存储通用套接字地址。
数据结构定义:
typedef unsigned short sa_family_t;
struct sockaddr {
sa_family_t sa_family; /* address family, AF_xxx */...
分类:
其他好文 时间:
2014-08-15 22:35:49
阅读次数:
443
Create a class Employee which extends from a class Person. The attributes of Person class are name, address, age. The attributes of the Employee clas....
分类:
其他好文 时间:
2014-08-15 20:55:19
阅读次数:
373
今天在进行代码往安卓平台移植时,IplImage *qImg=&(IplImage)dst1;报错taking address of temporary [-fpermissive]百度了一下:原来中&(IplImage)dst1操作取了临时变量的地址。返回后临时变量已经“消失”了,你不能再使用了。...
分类:
其他好文 时间:
2014-08-14 16:07:58
阅读次数:
219
Virtual addresses from multiple address spaces are translated to real addresses in main memory by generating for each virtual address an address space...
分类:
移动开发 时间:
2014-08-14 13:24:28
阅读次数:
489
故障描述参考文章http://blog.csdn.net/sctq8888/article/details/7381910不过这篇文章中提到的开启TIME-WAITsockets的快速回收和重用功能可能在某些场景下会导致问题,比如使用NAT方式访问服务器时,由于很多客户端的出口IP都是一样的,由于TCP时间戳的不一致会导致在同一个WI..
分类:
系统相关 时间:
2014-08-14 04:01:28
阅读次数:
342
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=lixora)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version ...
分类:
其他好文 时间:
2014-08-14 01:38:17
阅读次数:
334
1. 执行代码 vim /etc/network/interfaces2. 编辑内容 auto lo iface lo inet loopback #网卡eth0的配置 auto eth0 iface eth0 inet static address 192.168.1.30 #设置得静态IP...
分类:
其他好文 时间:
2014-08-13 21:49:17
阅读次数:
208
ipv6组播Router(config-if)#ipv6mldjoin-groupFF04::10Router(config-if)#ipv6mldaccess-listacc-grp-1!控制用户能加入的组播ipv6mldstatic-group[group-address][include|exclude]{source-address|source-list[acl]}如:Router(config-if)#ipv6mldstatic-groupff04::10include..
分类:
其他好文 时间:
2014-08-13 19:31:38
阅读次数:
249
CCIE学习笔记之RSVPRouter(config-if)#iprsvpbandwidth[interface-kbps][single-flow-kbps]!EnablesRSVPforIPonaninterfaceRouter(config)#iprsvpsendersession-ip-addresssender-ip-address[tcp|udp|ip-protocol]session-dportsender-sportprevious-hop-ip-addressprevious-ho..
分类:
其他好文 时间:
2014-08-13 15:07:46
阅读次数:
309