Path: sranha!katsu From: katsu@sra.co.jp (WATANABE Katsuhiro) Message-ID: Date: 5 Dec 90 20:48:41 Organization: Software Research Associates, Inc.,Japan In-reply-to: katsu@sra.co.jp's message of 5 Dec 90 03:13:20 GMT Newsgroups: sra.unix Subject: Re: TCP send buffer size Distribution: sra References: 記事 で katsu@sra.co.jp (WATANABE Katsuhiro) いはく > 記事の最後に wt.c というテストプログラムをつけました。これは TCP の もし試した人がいたらごめんなさい。大バグがありました。 *** wt.c.orig Wed Dec 5 20:38:55 1990 --- wt.c Wed Dec 5 20:39:20 1990 *************** *** 105,111 **** #ifdef PROTODEBUG debugOpt = 1; if (setsockopt(s, SOL_SOCKET, SO_DEBUG, ! (char *)debugOpt, sizeof(debugOpt)) < 0) { eperror("setsockopt(,,SO_DEBUG,,)"); exit(13); } --- 105,111 ---- #ifdef PROTODEBUG debugOpt = 1; if (setsockopt(s, SOL_SOCKET, SO_DEBUG, ! (char *)&debugOpt, sizeof(debugOpt)) < 0) { eperror("setsockopt(,,SO_DEBUG,,)"); exit(13); } # なおかつ、RISC-NEWS ではコンパイルできない。なぜでしょう? -- ----____----____ 渡邊克宏@ソフトウェア工学研旧所