Client Server card game

Hi all,

I wanted to make a card game that my friends and I could all play, but I have no experience at all with network programming. I am assuming I need a client and a server class. Is there a good tutorial, or does someone have some really simple sample code to get me started for each the client and the server? I have searched google, but I didn't find anything good, (the only thing I found was using Datagrams, and I didn't think that would work since messages aren't guaranteed to be delivered, and they aren't guaranteed to be in order).

Any help would be greatly appreciated. Thanks!

[615 byte] By [hoozdapimpa] at [2007-10-3 3:30:47]
# 1
well i guess you should do some reading about network programming.here. http://www.cafeaulait.org/books/jnp2e/take your time! goodluck!-Nywled
Redxxiva at 2007-7-14 21:24:43 > top of Java-index,Java Essentials,New To Java...
# 2
Thanks....any other suggestions? I didn't see any good examples on that website, so I'm hesitant to buy the book.
hoozdapimpa at 2007-7-14 21:24:43 > top of Java-index,Java Essentials,New To Java...
# 3
updated....dukes available :)
hoozdapimpa at 2007-7-14 21:24:44 > top of Java-index,Java Essentials,New To Java...
# 4

try Java Tutorial about networking:

http://java.sun.com/docs/books/tutorial/networking/index.html

there's a section about sockets (better than datagrams for your task) and it includes sample client/server app.

another sources for you:

http://www.javaworld.com/javaworld/jw-12-1996/jw-12-sockets.html

http://bdn.borland.com/article/31995

and a list of articles, some of them seem interesting:

http://www.javaolympus.com/J2SE/NETWORKING/JavaSockets/JavaSockets.jsp

lfschucka at 2007-7-14 21:24:44 > top of Java-index,Java Essentials,New To Java...