Forums Register Login

question about applet ?

+Pie Number of slices to send: Send
hi,
i want to make an Applet game in html page, and i want it to be 2 player game through network(peer to peer),,
Can I make the applet page for the first player (Server) and the applet page for second player (Client)??
+Pie Number of slices to send: Send
I'm not sure what you mean by "client" and "server" in a P2P scenario - aren't the players equals? Does one applet do something different than the other one?

Unless both players are on the same network segment, it will most likely not be possible to make direct connections between the two machines because of firewalls in between.

The general architecture for applet-based multi-player games would be for both players to connect to a server which transmits messages between the players. That would also obviate the need to know the IP address for the other player.
Rototillers convert rich soil into dirt. Please note that this tiny ad is not a rototiller:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 692 times.
Similar Threads
Network Game??
Connect-four
Communication between applet instances
What is a good front end to use for a Java web based game?
Awkward question (sorry)
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 04:20:04.