java network api

San_Andreas
Unregistered
 
Post: #1
I would like to build online multiplayer game (Listen Game) - users listen to clips of songs and determine which words are most and least relevant to the song. Users earn points when they pick the same words as others who are playing at the same time and listening to the same song clips.

I would like to develop java applet games and use them as clients, and have people play the games against each other. and the server side i want to do in java.

Is there any Game Networking programming APIs? Is there one that
is considered the most common? Is there one that is considered the
best?

I have noticed OpenTNL as a good option for helping me to add networking functionality to my game.but its in C.

If anyone could point me in the right direction, or give me a couple of hints, that would be much appreciated.

Can i use winsock or socket.... Can it handle what i need?
Quote this message in a reply
Moderator
Posts: 452
Joined: 2008.04
Post: #2
Winsock probably won't work on your Mac.

You can use Java sockets:
http://java.sun.com/j2se/1.4.2/docs/api/...ocket.html

Here's a useful tutorial:
http://java.sun.com/docs/books/tutorial/...g/sockets/

And here's more links:
http://www.google.com/search?q=java+socket+examples
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Getting network connection for a specified PID Florian 6 5,007 Dec 23, 2006 03:46 AM
Last Post: Florian
  Ways to Network. BinarySpike 28 12,589 May 10, 2005 07:44 PM
Last Post: kodex
  Network play David 15 7,598 Apr 10, 2003 05:56 AM
Last Post: rvangaal
  Network Programming henryj 9 5,446 Jan 6, 2003 07:42 PM
Last Post: henryj