Original Post
Hi,
Looking at examples of networking and sockets in Java, all
I seem to find are lame send-one-string-and-return-another type of examples, or all sorts of non-action, turn based games.
But what about when it comes to sending messages at rapid speed between server and clients, like in a normal high fps actiongame? I got a implementation running, but it doesn''t behave like expected (duh!). Its using java DataInput/Output- Streams to send positions and events server<->client(s).
I need some pointers to get going again... My streams are just not behaving..
. For one thing, by just pumping in data in one end very fast, results in lost data at the other end -- that shouldnt be,..or? And I seem to have to send just as much data as i recieve, or things go bad.
Anyone done something like this or know of any examples (good or bad) thats doing it? The internet needs more multiplayer action in java, damn it!
And I''m sooo close..
/ dr-m