I am trying to learn Socket programming in Java to make a game I created playable via network. I have never done much network programming so the subject is a bit confusing. In php I use apache to test my aplications on a local server. What do I need to install to be able to run network applications with Java?
closed as not constructive by gnat, Kilian Foth, Dynamic, ChrisF♦ May 25 at 15:35
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.
You don't need to install anything special. Socket has been in the standard JDK since version 1.0.
See socket tutorial to get started.
If you want to test how the communication works between processes, then simply start >1 processes in the same machine. In principle it works similarly over any network.