|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: java servers using ServerSocket
I've just finished my Java paper (here's hoping I passed that damned test) and that last part of what we had to do was to create a server client version of a stack calculator that we had written previously.
Java sockets are really simple because of the premade classes.
Here's the code for the sockets and the classes for the GUI and Calc engine. If you have any questions, let me know. The server is the CalcServer.java and the client is CalcGUI, but the client socket code is in Proxy.java.
Enjoy
Tim
___________________________________________
Beer is the path to the dark side. Beer leads to Stella,
Stella leads to Speights. Speights, leads to suffering
>>> "Jonathan Smith" <jon_1_5@hotmail.com> 17/06/00 14:47:20 >>>
Hi, java man here again, Praise God. I'm having a bit of a problem here.
I'm not to learned in the area of servers, but I certainly would like to
learn:
1. How to make them;
2. How to use them;
3. How they work.
I know that discussing an issue such as servers could take a long time,
but if anyone could find the time to help I would greatly appreciate it.
I want to know how to use them because, one, if it's God's will, I want
to create an mpog war/strategy game(where if a player signs off he can leave
a strategy for his "country" to use while he is away, so that his absence
doesn't disturb the game), and, of course, I would have to use servers to
update everything on everyone's gameboard, two, I have a tictactoe game
already completed and I want to make it so two people can play and chat, at
the same time, over the net, if it's God's will.
If you could, I really need to learn this in Java, specifically, from
what I know, using Socket and ServerSocket. If not Java, then I would still
like to know how they work and how I can use them. Thanks
Peace and may God
direct your life
Amen, Jonathan Smith
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
=================================================================
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once
To SUBSCRIBE or UNSUBSCRIBE please visit:
http://gameprogrammer.com/mailinglist.html
|
|