문제

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!

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top