Previous Next Table of Contents 2. ã¯ã©ã¤ã¢ã³ãã¨ãµã¼ã(TCP/SOCK_STREAM)両æ¹ã«é¢ãã質å 2.1 ç¸æå´ã®ã½ã±ãããéãããããã¨ãã©ããã£ã¦ç¥ããã¨ãã§ãã¾ãã? Andrew Gierth æ° ( [email protected]emon.co.uk) ãã: ç§ã®ç¥ãéã⦠ç¸æå´ã (SO_LINGER ã使ã£ãããããããã¨ãããªãã§) close() ãããçµäºããã¨ããã¨ããã¡ãã® read() ã®å¼ã³ åºã㯠0 ãè¿ãã¯ãã§ããåãå ´åã§ãwrite() å¼ã³åºãã§ä½ã èµ·ãããã¯ãããã¡ãã£ã¨ãããã¥ããã§ããç´å¾ã®å¼ã³åºãæã§ã¯ãª ãããã®æ¬¡ã®å¼ã³åºãæã«EPIPE ãè¿ãã§ãããã ããç¸æãåèµ·åããã l_onoff = 1, l_linger = 0 ãè¨å®ã㦠ããéããã¨ããã¨ãread() ããã¯(
{{#tags}}- {{label}}
{{/tags}}