Frage

I want to create two Java applications that will be able to send message to each other wirelessly. The two applications does not need to be in different machines, since this is only a simulation so I hope to run it in the same machine. Is there a way to do that? Thank you!

War es hilfreich?

Lösung

You can create a connection with socket, or with RMI.

If I remember right, the RMI is newer than socket..

However you can find there about socket: All About Socket

and here: About RMI

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top