Is it possible to have two computers socket-connect to each other without any server involved in Java? If so, how? I've only seen examples of server-client connections where the server is permanent.
For example:
I've never really understood this well.
In your scenario, person A's PC would be acting as the server and person B's would be acting as the client. Even if it is only temporary, the fact that A is listening for a connection means that it is acting as a server.