Chinaunix首页 | 论坛 | 博客
  • 博客访问: 305780
  • 博文数量: 214
  • 博客积分: 4258
  • 博客等级: 上校
  • 技术积分: 2021
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-02 09:16
个人简介

http://blog.csdn.net/ly21st http://ly21st.blog.chinaunix.net

文章分类

全部博文(214)

文章存档

2018年(16)

2015年(1)

2014年(2)

2012年(22)

2011年(173)

发布时间:2011-09-24 23:12:59

#include  "unp.h"#include  <syslog.h> extern int daemon_proc; /* defined in error.c */ voiddaemon_inetd(const char *pname, int facility){   daemon_proc = 1;    /* for our err_XXX() functions .........【阅读全文】

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

发布时间:2011-09-24 21:13:19

以root的身份在/etc/xinetd.d/目录中编辑文本文件proftpd,内容如下: #   default:   on #   description:   The   proftpd   server   serves   proftpd   sessions;   service   proftpd   {     disable   =   no   &n.........【阅读全文】

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

发布时间:2011-09-24 19:30:01

xinetd.conf配置详解先來看一看預設的 /etc/xinetd.conf 這個檔案的內容是什麼吧! [root@linux ~]# vi /etc/xinetd.conf## Simple configuration file for xinetd## Some defaults, and include /etc/xine.........【阅读全文】

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

发布时间:2011-09-24 13:52:43

#include  "unp.h"#include  <syslog.h> #define MAXFD   64 extern int daemon_proc; /* defined in error.c */ intdaemon_init(const char *pname, int facility){   int     i;   pid_t&nbs.........【阅读全文】

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

发布时间:2011-09-24 09:49:47

11.2 getaddrinfo函数 int getaddrinfo(const char * hostname, const  char * service,  const struct addrinfo * hints,  struct  addrinfo  ** result);返回:成功返回0,出错返回非零       这个函数通过result返回一个指向addrinfo结构.........【阅读全文】

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

登录 注册