wwwサーバの作成でソケットの勉強してます。
サーバ、ブラウザともローカルでテストしています。
ブラウザの要求に対してヘッダと本データは送れたのですが接続が終了せずに
タイムアウトまで時間かかってしまします。鯖の送信メッセージは

HTTP/1.1 200 OK Date: 03/04/29 13:13:47 ETag: "480ccf-26ee-3ead744e" Accept-Rang
es: bytes Content-Length: 571 Content-Type: text/html
\r\n
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=x-sjis">
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
<title>これはテストページです。</title>
</head>
<body bgcolor="#FFFFFF">
<p align="center"><font color="#0000A0" size="6">これはテストページです。</font>
</p><p align="center"> </p><p align="center"> </p><p align="center">見えますか?
</p><p align="center"> </p><p align="center"> </p><p align="center"><font size="4">
<em>Patche Web Sever Ver 0.1</em></font></p>
</body>
</html>
\r\n
Connection closed by foreign host.\r\n
\r\n


です