ãããã¯ã¼ã¯ããã°ã©ã ã¨SIGPIPE ãç§ã®æ¸ãããµã¼ããçªç¶æ»ãããã§ããã©ããã¦ã§ãããããã¨ãã質åãåãããã¨ãããã¾ããããã¯å¤ãã®å ´åãSIGPIPEã®å¦çãå¿ãã¦ãããã¨ãåå ã§ããSIGPIPEã¨ã¯ãåæããããããã¯ã¼ã¯ã½ã±ãããªã©ã«ãã¼ã¿ãæ¸ãè¾¼ããã¨ããéã«éåºãããUNIXã·ã°ãã«ã§ããç¹ã«è¨å®ããªãéããããã»ã¹ã¯SIGPIPEãåãåãã¨å¼·å¶çµäºããã¾ãããã®ãããéä¿¡ãçªç¶åæãããå¯è½æ§ã®ããTCPãµã¼ãã«ããã¦ã¯ãSIGPIPEãç¡è¦ããããè¨å®ããå¿ è¦ãããã¾ãã # ããã©ã«ãã®åä½ï¼SIGPIPEã®å ´åã¯ããã»ã¹ã®çµäºï¼ã«è¨å® $SIG{PIPE} = 'DEFAULT'; # SIGPIPEãç¡è¦ããããè¨å® $SIG{PIPE} = 'IGNORE'; # SIGPIPEãåä¿¡ããéã«å®è¡ãããµãã«ã¼ãã³ãªãã¡ã¬ã³ã¹ã # è¨å® $SIG{PI
{{#tags}}- {{label}}
{{/tags}}