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.
Mina を使用した Java アプリケーションがあり、ソケットがサーバーに接続している場合、この Java アプリケーションは正常であると思いますが、それ以外の場合は異常です。簡単に言えば、ソケットの長い接続を使用してアプリケーション ステータス モニターを実装します。問題は、Mina を使用してソケットを再接続する方法、またはアプリケーション ステータス モニターを実装する別のより良い方法があるかどうかです。ありがとう。
You can't reconnect any TCP socket. You have to close it and start again with a new one, same way you got the first one.