自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 419

原创 剪头发随想

夏日头发

2014-06-22 20:28:10 1113

转载 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 983

原创 TCP阅读之一:TCP的可靠性

对近期读TCP协议的一个记录

2014-05-30 09:17:28 631

原创 htonl、htons、ntohl、ntohs

由于本机存储数据的格式和网络传输的数据字节顺序

2014-05-18 22:32:49 718

原创 TCPIP的几个简易概念

1. BIG-ETCP/IP采用的是

2014-05-18 22:17:26 662

原创 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 260

原创 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 342

转载 Linux /dev目录详解

转载于:http://blog.csdn.net/maopig/article/details/7195048Linux /dev目录详解    在linux下,/dev目录是很重要的,各种设备都在下面。下面简单总结一下:  dev是设备(device)的英文缩写。/dev这个目录对所有的用户都十分重要。因为在这个目录中包含了所有Linux系统中使用的外部设

2014-05-18 13:23:23 801

原创 Makefile三个有意思的变量

Makefile有三个非常有用的变量。分别是$@,$^,$$@--目标文件$^--所有的依赖文件$

2014-05-18 10:39:47 361

原创 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 427

原创 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 296

原创 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 445

原创 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 1362

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除