易截截图软件、单文件、免安装、纯绿色、仅160KB

linux 清理缓存问题。

#include "stdlib.h"
#include "stdio.h"
#include "errno.h"
#include "string.h"
#include "netdb.h"
#include "sys/types.h"
#include "sys/stat.h"
#include "fcntl.h"
#include "netinet/in.h"
#include "sys/socket.h"

void client(int ch)
{
        int i;
printf("%d",ch);
        switch(ch)
        {
        /********传输文件******/
        case 1: _i = flushall();
                send();
                break;
        /********聊天*********/
        case 2:
        /*********群聊********/
        case 3: break;
        }
}
/********************************************************************************************
*我在另外一个函数调用了client 函数,然后传过来一个ch,我想在调用_send()函数之前,清理下缓存区,
*因为我在_send函数里还要输入其他变量的值,
* 'flushall'的头文件不是stdio.h吗?我已经包含了。
*为什么提示我连接错误阿?
* undefined reference to `flushall'


相关问答:

[求助]linux网络编程中select出错

目标:当网络中有数据到达或者超时,程序进入下一次循环。
问题:select()函数不起作用,程序不会在select的地方阻塞一秒,并且当网络上有数据的时候,select的返回值仍然小于0
    #include <s ......

在linux上使用tomcat服务器出现了很多close_wait

在linux上使用tomcat服务器出现了很多close_wait

使用浏览器访问的时候出现页面一直在请求,很慢 ,基本上没有回应。
用netstat -anp 查看 有很多close_wait


这个是什么引起的阿 ,怎么解决? ......

使用Struts2上传文件,在linux下报错

使用Struts2上传文件,在linux下报错
2009-09-29 14:56:20,801 [org.apache.struts2.interceptor.FileUploadInterceptor]-[ERROR] Processing of multipart/form-data request failed. c:/temp/upload__1dcd07ee_12 ......

Linux下乱码是怎么回事,急!!!

给大家截个图


[root@localhost ~]# pstree
init鈹€鈹攢acpid
    鈹溾攢anacron
    鈹溾攢atd ......

linux安装软件为什么这么难

小弟一直不明白,linux为什么不学习windows下的软件安装方式,干净利落的安装上软件。
安装一个软件问题多多,即使没有问题,那些源都慢的要命!!!
请高手给与解答,谢谢。。。
就因为麻烦所以才没人乱搞才 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号