Chinaunix首页 | 论坛 | 博客
  • 博客访问: 72324
  • 博文数量: 34
  • 博客积分: 82
  • 博客等级: 民兵
  • 技术积分: 180
  • 用 户 组: 普通用户
  • 注册时间: 2012-02-23 18:51
文章分类
文章存档

2013年(2)

2012年(33)

发布时间:2013-04-02 22:07:51

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

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

发布时间:2013-04-02 21:46:13

0.http://blog.chinaunix.net/uid/14735472/frmd/8838.htmlhttp://blog.chinaunix.net/uid-14735472-id-3239614.html //CentOS 6.2 下安装QQ2012完全可用 http://blog.chinaunix.net/uid-14735472-id-3237985.html //用arp-scan扫描局域网IP地址http://blog.chinaunix.net/uid-14735472-id-3233310.html.........【阅读全文】

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

发布时间:2012-12-26 09:13:25

php和c通过socket通信 /*server.c*/#include <sys/types.h>#include <sys/socket.h>#include <string.h>#include <stdio.h>#include <netinet/in.h>#include <arpa/inet.h>#include <stdlib.h>#include <unistd.h>#include <errno.h>main(){    int soc......【阅读全文】

阅读(957) | 评论(1) | 转发(0)

发布时间:2012-12-20 11:29:01

http://blog.chinaunix.net/uid-22150747-id-189252.html 相关函数 fork,execve,waitpid,popen 表头文件 代码: #include<stdlib.h> 定义函数 代码: int system(const char * string); 函数说明 system() 会调用fork()产生子进程,由子进程来调用/bin/sh-c string来执行参数string字符串所代表的命令,此命令执行完后随即返回原调用的进程。在调用system()期间SIGCHLD ......【阅读全文】

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

发布时间:2012-12-11 11:35:16

http://blog.csdn.net/shijian408/article/details/7735764getsockname与getpeername是返回套接口关联的本地协议地址和远程协议地址。 int getsockname(int sockfd, struct sockaddr * localaddr, socken_t * addrlen); int getpeername(int sockfd, struct sockaddr * peeraddr, socken_t * addrlen); 返回0表示成功,返回1表示出错 参数sockfd表示你......【阅读全文】

阅读(813) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

llweiyang2012-10-25 17:06

回复  |  举报
留言热议
请登录后留言。

登录 注册