0

I need to transfer commands between two remote java applications.

I am currently using XMPP to transfer the text of the commands, but it is a bit too slow for rapid sequences of commands.

Are there any protocols which would allow me to achieve near real time text transfer? (for example what protocols are normally used in multiplayer online games) Or is there any way that I would be able to speed up XMPP?

Edit: I'm focusing on getting two apps communicating at the moment. Rapid sequences would be about 10-20 messages (of about 30 characters in length) per second.

4

1 に答える 1

0

ICE を使用して、ピア間の RTP 接続をセットアップできます。Ice4j は、これに使用できる Java ベースのライブラリです。

于 2012-09-26T19:57:24.657 に答える