- 博客(3)
- 收藏
- 关注
原创 unpv13---Sockets Introduction
1.IPV4套接字地址结构: struct in_addr{ in_addr_t s_addr; //32-bit IPV4 adress,网络字节序 } struct socket_in{ uint8_t sin_len; //结构长度
2012-08-09 13:06:51
81
原创 unpv13---Sockets Introduction
1.IPV4套接字地址结构: struct in_addr{ in_addr_t s_addr; //32-bit IPV4 adress,网络字节序 } struct socket_in{ uint8_t sin_len; //结构长度
2012-08-09 09:45:26
87
apue---线程控制
一.线程属性1.线程属性可以在线程创建时设置,可以实用pthrread_attr_t结构修改线程默认属性,并把这些属性与创建的线程联系起来。可以实用pthread_attr_init函数初始化pthread_attr_t: #include int pthread_attr_init(pthread_attr_t *attr); int
2012-08-08 14:57:57
89
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅