aspose file tools
The moose likes Applets and the fly likes any help/tip? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "any help/tip?" Watch "any help/tip?" New topic

any help/tip?

Abdelrahman Hatem

Joined: Sep 07, 2010
Posts: 10
i was learning socket programming in java and then i made a tic tac toe program so it needed a client app and server app,but if anyone wants to play the game he/she has to ask me to open the server in my pc so i was wondering if there is a way to upload my server app as an applet or something so it can work all the time.
Alaa Nassef
Ranch Hand

Joined: Jan 28, 2008
Posts: 467
What does this have to do with iPhone?

Visit my blog:
David Newton

Joined: Sep 29, 2008
Posts: 12617

Alaa Nassef wrote:What does this have to do with iPhone?

Nothing; moving.
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

An applet works on the clients side. So that is not a solution.

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Lester Burnham

Joined: Oct 14, 2008
Posts: 1337
Can't you keep the server code (which I understand to mean a computer player) as part of the applet? It shouldn't be particularly large or complicated.
Abdelrahman Hatem

Joined: Sep 07, 2010
Posts: 10
@Alaa Nassef sorry didn't mean to post here
@Lester Burnham no the server code is that makes the clients play with each other (i.e sending and recieving from each client to another).
It is sorta covered in the JavaRanch Style Guide.
subject: any help/tip?