Chinaunix首页 | 论坛 | 博客
  • 博客访问: 38754
  • 博文数量: 41
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 357
  • 用 户 组: 普通用户
  • 注册时间: 2014-04-20 16:26
文章分类

全部博文(41)

文章存档

2014年(41)

我的朋友

发布时间:2014-04-23 21:21:44

client:#include <stdio.h>#include <sys/stat.h>#include <stdlib.h>#include <unistd.h>#include <errno.h>#include <string.h>#include <sys/types.h>#include <sys/socket.h>#include<netinet/in.h>int main(){    int opt = 1;    socklen_t len = sizeof(len);&nbs.........【阅读全文】

阅读(169) | 评论(0) | 转发(0)

发布时间:2014-04-23 21:14:39

一个select函数的例子#include <stdio.h>#include <time.h>#include <sys/types.h>#include <unistd.h>#include <fcntl.h>int main(){    struct timeval tv;    char buf[100] = "pig";    fd_set readfds;    tv.tv_sec = 4;  &nbs.........【阅读全文】

阅读(217) | 评论(0) | 转发(0)

发布时间:2014-04-22 08:38:16

......【阅读全文】

阅读(207) | 评论(0) | 转发(0)

发布时间:2014-04-20 16:51:42

 (一)关于本教程这是一本关于MYQL的C语言编程的入门教程,它讲述了MYSQL的C API编程的基本知识。本博文由编程导航网提供。(二)关于MYSQL数据库MYSQL是一个领先的开源数据管理系统,是一个多用户、多线程的数据库系统。MYSQL在web应用中特别流行,是非常流行的LAMP(L-linux, A-apache.........【阅读全文】

阅读(254) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册