File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

any help/tip?

 
Abdelrahman Hatem
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 471
Hibernate Mac OS X Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does this have to do with iPhone?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Alaa Nassef wrote:What does this have to do with iPhone?

Nothing; moving.
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An applet works on the clients side. So that is not a solution.
 
Lester Burnham
Rancher
Posts: 1337
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic