Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
接続されているソケットに (Java ソケットから) 常にメッセージを送信しているサーバーがあります。また、メッセージを受け取ってプリフォームします。後者は問題なく動作しますが、メッセージの絶え間ないストリームを読み取ってユーザーに渡すことはほぼ不可能です。ソケット リソースを失わずに HTML 対話を行うことはできません。また、メッセージが失われるため、サーバーへの接続を失うこともできません。何か案は?