- 博客(14)
- 收藏
- 关注
转载 uBOOT 错误1
Re: [arm-gnu] In Function __aeabi_ldiv0 : undefined reference to 'raise'To: ananth Subject: Re: [arm-gnu] In Function __aeabi_ldiv0 : undefined reference to 'raise'From: Mark Mitchell Date: Wed,
2015-01-18 10:01:47
449
转载 TCP三次握手连接及seq和ack号的正确理解
使用监听程序监听网络数据包的时候,经常会看到ACK、SYN等等,下面对包含这些的TCP握手协议进行解析三次握手Three-way Handshake一个虚拟连接的建立是通过三次握手来实现的 1. (B) –> [SYN] –> (A)假如服务器A和客户机B通讯. 当A要和B通信时,B首先向A发一个SYN (Synchronize) 标记的包,告诉A请求建立连接.
2014-05-30 11:06:43
1006
原创 shutdown
#include int shutdown(int sockfd, int how)shutdown(): (创建一个抽象的通讯端点socket,类似于file descriptor的概念,其目的用于对网络通讯的操作)domain:determines the nature of the communication ,including th
2014-05-18 21:38:06
275
原创 socket
#include int socket(int domain, int type, int protocol)功能: create aconnection 建立一个网络连接,目的ip地址信息在addr中参数: addr-server addr Theaddress we specify with connectis the address of the serv
2014-05-18 21:28:32
358
转载 Linux /dev目录详解
转载于:http://blog.youkuaiyun.com/maopig/article/details/7195048Linux /dev目录详解 在linux下,/dev目录是很重要的,各种设备都在下面。下面简单总结一下: dev是设备(device)的英文缩写。/dev这个目录对所有的用户都十分重要。因为在这个目录中包含了所有Linux系统中使用的外部设
2014-05-18 13:23:23
824
原创 getopt()
page815#include int getopt(int argc, const *const argv[],const char *options)getopt():命令行选项参数的解析函数argc: (main函数传入的参数argc,参数的总个数)argv: (main函数传入的参数argv)options:
2014-05-17 23:07:47
449
原创 select()
#include int select(int maxfdp1, fd_set *restrictreadfds,fd_set *restrict writefds, fd_set *restrict exceptfds,struct timeval *restrict tvptr)select():do I/O multiplexing (用于检测多个文件句柄的变化)
2014-05-16 17:06:00
311
原创 fgets()
#include char *fgets(char *restrict buf, int n,FILE *restrict fp)fgets():Line-at-a-time input (每次仅读取一行输入的函数))buf: the buffer to read the line into(内存空间,用于存放读取到的一行数据)n: sizeof
2014-05-16 08:16:00
480
原创 openlog()
#include void openlog(const char *ident, intoption, int facility)openlog():openloglets us specify an ident that is added to each logmessage. This is normally thename of the program (cron, inet
2014-05-15 21:08:12
1395
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人