Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (487)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (553)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  race game network help  (Read 1943 times)
0 Members and 1 Guest are viewing this topic.
Offline arun

Junior Newbie





« Posted 2006-07-19 14:20:31 »

hi guys
           i want to develope a new multiplayer racing game in lan. which type of protocol
is best.
                                            thanks
Offline purpleguitar

Junior Member





« Reply #1 - Posted 2006-07-20 12:01:26 »

What type of protocol?  Network!  *ba-dum dum*

There seem to be a few discussions on the board regarding the merits of TCP vs UDP (which are protocols, not types of protocols).  I recommend that you search the forum and look at the networking forum, build up your understanding a bit, and then post a more pointed question.  (E.g. if you know what kind of latency you need, how many players, is it LAN-only or should it scale up to Internet)

Offline Jeff

JGO Coder




Got any cats?


« Reply #2 - Posted 2006-07-21 04:11:49 »

On a  LAN you might as well do everything TCP/IP.

OR so it all UDP multicast. 

The forner is easy and you dont have to wrry about internet TCPIP jam issues.

But the latter means you only have to send any packet ocne as opposed to N times where N is the number of players.

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Kova

Senior Member





« Reply #3 - Posted 2006-07-23 11:01:06 »

I would suggest TCP as it's packets arrive in order. Since it's on lan you don't have to worry about one packet having trouble to pass and delaying all other packets. Either way you shuold learn both protocols, try implemening both Smiley
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

TehJavaDev (16 views)
2014-08-28 18:26:30

CopyableCougar4 (25 views)
2014-08-22 19:31:30

atombrot (38 views)
2014-08-19 09:29:53

Tekkerue (35 views)
2014-08-16 06:45:27

Tekkerue (32 views)
2014-08-16 06:22:17

Tekkerue (20 views)
2014-08-16 06:20:21

Tekkerue (32 views)
2014-08-16 06:12:11

Rayexar (66 views)
2014-08-11 02:49:23

BurntPizza (44 views)
2014-08-09 21:09:32

BurntPizza (35 views)
2014-08-08 02:01:56
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!