TeamJava Forum

[ Read Responses | Post a New Response | Return to the Index ]
[ Previous | Previous in Thread | Next in Thread | Next ]


Re: Chat Server

Posted by Erik on Friday, 18 July 2003, at 9:18 a.m., in response to Chat Server, posted by Abhijit on Wednesday, 16 July 2003, at 1:58 a.m.

Maybe you should change the line

public static final int MAX_USERS = 25;

to

public static final int MAX_USERS = 25 * 40 * 2;

this would greatly improve the usability of the chat, allowing more users to connect. You could also change the line

public static final CodePerfection cPerf = "veryLow";

to

public static final CodePerfection cPerf = "aBitBetter";

This is kind of complicated though, and requires you to delete all your previous written code.

You could ofcourse also be a little more specific in posting a question...

Erik


Responses


Post a New Response

Please select: Discussion Question Answer
Pulse Check - enter num: 1067826319

Your Name:

E-Mail Address:

Subject:

Message:


If you'd like to include a link to another page with your message,
please provide both the URL address and the title of the page:

Optional Link URL:

Optional Link Title:


If you'd like to have the option of deleting your post later,
please provide a password (CASE SENSITIVE!):

Password:



Password:

The TeamJava Forum is maintained with WebBBS 2.24.


TeamJavaHome | Ind. Registry | Co. Registry | Java Links
Jobs Listings Forum | TeamJava Books | Java FAQ Archives

AWN

Copyright © 1995-2003 Active Web Networks, all rights reserved.
(Note: We share no direct association with Sun Microsystems, Inc.)