摘要: /* ============================================================================ Name : TCPserver.c Author : vestinfo Version : 1.1 Copyright : www.cnblogs.com/vestinfo Description : TCP server ============================================================================ */#include <... 阅读全文
posted @ 2012-10-04 16:17 helloweworld 阅读(180) 评论(0) 推荐(0) 编辑
摘要: /* ============================================================================ Name : TCPclient.c Author : vestinfo Version : 1.1 Copyright : www.cnblogs.com/vestinfo Description : TCP client ============================================================================ */#include <... 阅读全文
posted @ 2012-10-04 16:16 helloweworld 阅读(300) 评论(0) 推荐(0) 编辑
摘要: /* ============================================================================ Name : UDPserver.c Author : vestinfo Version : 1.1 Copyright : www.cnblogs.com/vestinfo Description : A simple UDP server, Ansi-style ====================================================================... 阅读全文
posted @ 2012-10-04 16:15 helloweworld 阅读(198) 评论(0) 推荐(0) 编辑
摘要: /* ============================================================================ Name : UDPclient.c Author : vestinfo Version : 1.1 Copyright : www.cnblogs.com/vestinfo Description : A simple UDP client, Ansi-style ====================================================================... 阅读全文
posted @ 2012-10-04 16:14 helloweworld 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 指针是什么?说白了就是存放地址的变量!#include <stdio.h>#include <unistd.h>#include <fcntl.h>int main(int argc, char* argv[]){ //初始化法一 char buff_first[4] = {'a', 'b', 'c'}; printf("buff_first %s\n", buff_first); buff_first[0] = 'd'; printf("buff_first ch 阅读全文
posted @ 2012-10-04 14:59 helloweworld 阅读(219) 评论(0) 推荐(0) 编辑