摘要:ICMP Structure 在linux gnu c library 中函数icmp的定义 1structicmp2{3u_int8_ticmp_type;/*typeofmessage,seebelow*/4u_int8_ticmp_code;/*typesubcode*/5u_int16_ticmp_cksum;/*onescomplementchecksumofstruct*/6union/**/7{8u_charih_pptr;/*ICMP_PARAMPROB*/9structin_addrih_gwaddr;/*gatewayaddress*/10structih_idseq/*.
阅读全文
摘要:PreviousTable of ContentsNextRemote Access to the Fedora Linux DesktopDisplaying Fedora Linux Applications Remotely (X11 Forwarding)Purchase and download the fully updated Fedora 13 PDF and ePub versions of this eBook for only $9.99PDF/ePub editions contain 40 chapters and over 250 pages.Download pr
阅读全文
摘要:跟我一起写 Makefile陈皓 (CSDN)概述——什么是makefile?或许很多Winodws的程序员都不知道这个东西,因为那些Windows的IDE都为你做了这个工作,但我觉得要作一个好的和professional的程序员,makefile还是要懂。这就好像现在有这么多的HTML的编辑器,但如果你想成为一个专业人士,你还是要了解HTML的标识的含义。特别在Unix下的软件编译,你就不能不自...
阅读全文
摘要:Gcc - c 内存分析 Stack :函数地址,参数,局部非静态变量等 全局区:bss区、data区 Bss未初始化 : Data初始化 : 堆区:动态库函数申请的, 1: .file "memory.c" 2: .comm dy_a,4,4 (Bss) 3: .globl dy_b 4: .data 5: .align 4 ...
阅读全文
摘要:Chapter16-1网络编程11.4UDP套接口编程UDP工作流程:基本函数介绍:EGServer:#include<stdio.h>#include<sys/types.h>#include<netinet/in.h>#include<errno.h>#include<string.h>#defineSERVER_PORT8888#defineMAX_MSG_SIZE1024intmain(void){intsockfd,addrlen,n;structsockaddr_inaddr;charmsg[MAX_MSG_SIZE];s
阅读全文