在线笔记
全部博文(596)
发布时间:2014-12-26 16:31:56
http://www.cnblogs.com/hnrainll/archive/2011/04/24/2026432.html在linux环境下,结构体struct sockaddr在/usr/include/linux/socket.h中定义,具体如下:typedef unsigned short sa_family_t;struct sockaddr { sa_family_t sa_family; &n.........【阅读全文】
发布时间:2014-12-25 13:51:43
//server.c#include<stdio.h>#include<string.h>#include<unistd.h>#include<sys/types.h>#include<stdlib.h>#if 1#include<sys/socket.h>#include<netinet/in.h>#include<arpa/inet.h>#define CLDUDTSO.........【阅读全文】
发布时间:2014-06-20 10:38:11
1. sudo apt-get install libneon272. mv /usr/lib/libneon-gnutls.so.27 /usr/lib/libneon-gnutls.so.27-bak3. ln -s /usr/lib/libneon.so.27 /usr/lib/libneon-gnutls.so.27......【阅读全文】