Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Connection reset by peer > Linux ϵĴíÎó error.h

ÎÊÌ⣺Á½Ì¨DVRͬʱÁ¬½Óͬһ̨2·µÄDVS£¬ÆäÖÐһ̨DVRÕý³£Á¬½ÓDVSµÄÁ½Â·Êä³ö£¬Ô¤ÀÀÒ²Õý³£¡£
         ¶øÁíһ̨DVRÖ»ÄÜÁ¬ÉÏDVSµÄ1·Êä³ö£¬Áíһ·ÔõôҲÁ¬²»ÉÏ¡£
        
         ¸ú×Ù·¢ÏÖ£¬DVRÓëDVS½¨Á¢rtspÁ¬½ÓÕý³££¬µ«ÔÚDVR·¢ËÍDESCRIBEÃüÁîÒÔºó£¬ÔÙÒ²ÊÕ²»µ½
         DVSµÄÏìÓ¦£¬´íÎóºÅ104£ºConnection reset by peer
²éGoogle ·¢ÏÖÍøÉÏÓÐÕâÑù½âÊÍ£º
¢Ù£º·þÎñÆ÷µÄ²¢·¢Á¬½ÓÊý³¬¹ýÁËÆä³ÐÔØÁ¿£¬·þÎñÆ÷»á½«ÆäÖÐһЩÁ¬½ÓDownµô£»
¢Ú£º¿Í»§¹ØµôÁËä¯ÀÀÆ÷£¬¶ø·þÎñÆ÷»¹ÔÚ¸ø¿Í»§¶Ë·¢ËÍÊý¾Ý£»
¢Û£ºä¯ÀÀÆ÷¶Ë°´ÁËStop
errno
ÊǸöint±äÁ¿£¬·µ»Ø´íÎó
ÓдíÎóʱʹÓ÷½·¨
fprintf(fp, "%s", strerror(errno))
perrorÓ÷¨
#include <stdio.h>
#include <stdlib.h>
#include<errno.h>
int main(void)
{
FILE *fp;
if((fp=fopen("aaa.txt","r+"))==NULL)
{
puts("²»ÄܽøÈëÎļþ");
perror("Ô­Òò");
printf("errno=%d\n",errno);
exit(1);
}
system("PAUSE");
return 0;
}
fopen·µ»ØNULLÒòΪûÓÐÎļþ
#define    EPERM        1    /* Operation not permitted */
#define    ENOENT        2    /* No such file or directory */
#define    ESRCH        3    /* No such process */
#define    EINTR        4    /* Interrupted system call */
#define    EIO        5    /* I/O error */
#define    ENXIO        6    /* No such device or address */
#define    E2BIG        7    /* Argument list too long */
#define    ENOEXEC        8    /* Exec format error */
#define    EBADF&n


Ïà¹ØÎĵµ£º

LinuxÖа²×°Apache2ÊÖ¼Ç


²Î¿¼Îĵµ£ºhttp://lamp.linux.gov.cn/Apache/ApacheMenu/
Ø  ÏÂÔØApache2.2.4 µÄѹËõ°ü£¬ÎļþÃûΪ£ºApache21.tar.gz £»
Ø  ÔÚ /usr/local Ŀ¼Ï½âѹ´ËѹËõÎļþ£º
 [root@wxr local]# tar xzvf Apache21.tar.gz
Ö®ºóÉú³ÉÒ»¸öÃûΪ“httpd-2.2.4 ”µÄÎļþ¼Ð£»
Ø&n ......

Linux¸ß¼¶Â·ÓÉ ²ßÂÔ·ÓÉ/À¦°ó/ÍøÇÅ

ת×Ôhttp://liuleijsjx.javaeye.com/blog/450933
1.²ßÂÔ·ÓÉ
    »ùÓÚ²ßÂԵķÓɱȴ«Í³Â·ÓÉÔÚ¹¦ÄÜÉϸüÇ¿´ó£¬Ê¹ÓøüÁé»î£¬ËüʹÍøÂç¹ÜÀíÔ±²»½öÄܹ»¸ù¾ÝÄ¿µÄµØÖ·¶øÇÒÄܹ»¸ù¾Ý±¨ÎÄ´óС¡¢Ó¦ÓûòIPÔ´µØÖ·À´Ñ¡Ôñת·¢Â·¾¶...        
    #/etc/iprout ......

linux ÏÂvsdftpÅäÖÃÎļþÏê½â

vsftpd.conf ÊÇvsftpdµÄÅäÖÃÎļþ£¬ÓÃÀ´¿ØÖÆvsftpdµÄ¸÷ÏÄÜ¡£Ä¬ÈÏ״̬Ï£¬ËüµÄλÖÃÊÇ/etc/vsftpd.conf»òÕßÔÚ/etc/vsftpd/vsftpd.conf¡£
¡¡¡¡È»¶ø£¬ÄãÒ²¿ÉÒÔͨ¹ýÐÞ¸ÄÅäÖÃÐÐÀ´Ö¸¶¨µ½ÆäËüĿ¼¡£ÕâÒ»µãºÜÓÐÓã¬ÒòΪҲÐíÄãÏëʹÓÃһЩ¸ß¼¶inetd¹¦ÄÜ£¬ÀýÈçxinetd£¬ÔÚÒ»¸ö¶àÐéÄâÖ÷»úµÄ»úÆ÷Éϵ÷Óò»Í¬µÄÅäÖÃÎļþ¡£
¡¡¡¡¸ñʽ
¡¡¡¡ ......

Linuxѧϰ¼Æ»®

0 Äñ¸çµÄLinux˽·¿²Ë
1 GNU\Linux±à³ÌÖ¸ÄÏ
2 LinuxÉ豸Çý¶¯¿ª·¢Ïê½â.pdf
3 ÉîÈëÀí½âlinuxÄÚºË.pdf
4 Linux_ÄÚºËÍêȫעÊÍ_V11.pdf or Linux_ÄÚºË×¢ÊÍ.pdf
5 LINUXÄÚºËÔ´´úÂëÇé¾°·ÖÎö\scene(ÉÏ).pdf and scene(ÏÂ).pdf
Ä¿Ç°ÒѾ­µ½LinuxÉ豸Çý¶¯¿ª·¢Ïê½â.pdfÁË£¬¶øÇÒ±àÒëÉý¼¶ÄÚºËÒѾ­³É¹¦£¬³õ²½±àдÁ˼òµ¥µÄÄ£¿é¡£ ......

Linux ÎļþÀàÐͼ°ÎļþµÄÀ©Õ¹Ãû

1¡¢LinuxÎļþµÄÀ©Õ¹Ãû£»
һ̸µ½ÎļþÀàÐÍ£¬´ó¼Ò¾ÍÄÜÏëµ½WindowsµÄÎļþÀàÐÍ£¬±ÈÈçfile.txt¡¢file.doc¡¢file.sys¡¢file.mp3¡¢file.exeµÈ£¬¸ù¾ÝÎļþµÄºó׺¾ÍÄÜÅжÏÎļþµÄÀàÐÍ¡£µ«ÔÚLinuxÒ»¸öÎļþÊÇ·ñÄܱ»Ö´ÐУ¬ºÍºó׺ÃûûÓÐÌ«´óµÄ¹Øϵ£¬Ö÷Òª¿´ÎļþµÄÊôÐÔÓйء£µ«ÎÒÃÇÁ˽âÒ»ÏÂLinuxÎļþµÄºó׺Ãû»¹ÊÇÓбØÒªµÄ£¬ÌرðÊÇÎÒÃÇ×Ô¼º´´½ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ