Handling THOUSANDS of clients

Hi,

I want to make turn based multiplayer game applet like scrabble. Thousands of clients should see each others in a lobby and chalange.

How the server side should be? How can i use ports, sockets etc.? Only one dedicated port would be enough for too much client?

Thanks.

[306 byte] By [Yusufa] at [2007-10-3 4:08:49]
# 1
If you're using TCP you'll only be using one port number at the server anyway. There's no particular difficulty about handling thousands of clients in Java.Have a look at the Sockets tutorial. There are zillions of questions about chat servers in this forum, too.
ejpa at 2007-7-14 22:08:43 > top of Java-index,Core,Core APIs...
# 2
I dislike the how the person stated the question, but it did give us everything needed to give him SOME direction.ejp: Why don't most people do ANY research before asking us - are we that good? Naturally you are of course, but then there's me!
watertownjordana at 2007-7-14 22:08:43 > top of Java-index,Core,Core APIs...
# 3

It seems to me that it's because they (a) aren't very good at their jobs and (b) have no interest in self-improvement or (c) even in learning what skills they will need to self-improve (or even (d) get by).

I shudder for the day when the world's software is mostly implemented by these people. I'll be heading for the hills ...

There seems also to be a belief that people are paid for answering questions here. If only. I wouldn't mind a dollar per.

ejpa at 2007-7-14 22:08:43 > top of Java-index,Core,Core APIs...
# 4

Here, here!

I've got a good one for you. This guy posts about getting access to a server.

This will obviously be behind a NAT/firewall, so I tell him how to do it and to talk to the net admins at his place.

His reply is that he asked (spelt "saked") his boss for help and he'll do it that way.

Um, one question - why didn't he just talk to his boss in the first place? It couldn't possibly be because the employee feared showing his boss how stupid he was that he hired such a dumb programmer - and a person who is afraid to ask his own team for help and would rather go behind their backs to strangers for help with such a basic network situation.

watertownjordana at 2007-7-14 22:08:43 > top of Java-index,Core,Core APIs...
# 5

This is absolutely another reason, and it shows up whenever you ask the question 'why?' or suggest that the requirement is ill-formed or that the management or the client needs to be educated.

We are dealing largely with sheep I am afraid. I'd be interested to see how long any of them last in the business, if there was any way of telling. Unfortunately there seems to be an endless supply.

ejpa at 2007-7-14 22:08:43 > top of Java-index,Core,Core APIs...
# 6
What makes you think that the OP isn't just an overly ambitious student?
jschella at 2007-7-14 22:08:43 > top of Java-index,Core,Core APIs...
# 7
> What makes you think that the OP isn't just an overly> ambitious student?My faith in ambitious students that they have some google-fu.
JoachimSauera at 2007-7-14 22:08:43 > top of Java-index,Core,Core APIs...
# 8
I don't know anything about the OP, it was just a general comment.
ejpa at 2007-7-14 22:08:43 > top of Java-index,Core,Core APIs...
# 9
Google started in college.
watertownjordana at 2007-7-14 22:08:43 > top of Java-index,Core,Core APIs...