Forum: Java
Apr 20th, 2008, 4:35 PM
|
|
Replies: 29
Views: 886
Re: online game
You raise a good question about the multiple clients connecting at once and sending data simultaneously. I didn't have not tried working with several clients connecting at once and share their...
|
Forum: Java
Apr 20th, 2008, 11:21 AM
|
|
Replies: 29
Views: 886
Re: online game
Time's getting a little tight here now that finals are around the corner, but post your client-server classes and I know this is a stupid question, but is your firewall blocking the connection? Your...
|
Forum: Java
Apr 20th, 2008, 7:06 AM
|
|
Replies: 29
Views: 886
Re: online game
The server and client are connected and chatting?
Well, that method is where the server accepts incoming data. Yeah, test is a lousy name now that I think of it.
For sending data, for both the...
|
Forum: Java
Apr 19th, 2008, 1:19 PM
|
|
Replies: 29
Views: 886
Re: online game
Sorry, I think you go what I said to FreakyChris mixed in, but if you want to keep the client class separated from the game class, that's fine. In the newMain class, you have the idea down, but the...
|
Forum: Java
Apr 19th, 2008, 9:50 AM
|
|
Replies: 29
Views: 886
Re: online game
@Freaky Chris
I've never done it that way. A better way might be to make the socket public or the send method public. Then, in the other applications, you can call the class that has the connection...
|
Forum: Java
Apr 18th, 2008, 5:15 AM
|
|
Replies: 29
Views: 886
Re: online game
I would use Socket and ServerSocket for the server class. In the first group of code, your
ServerSocket s = new ServerSocket(1234);
is fine. To make the process easier for me, I globalized the...
|
Forum: Java
Apr 17th, 2008, 8:48 AM
|
|
Replies: 29
Views: 886
Re: online game
Yeah, the client and server revision is much simpler and easier. It sounds like a great plan, but I don't understand the last part, "board come across the server from the second client right?" If the...
|
Forum: Coder's Corner Lounge
Mar 7th, 2007, 3:19 PM
|
|
Replies: 153
Views: 8,709
|
Forum: Coder's Corner Lounge
Feb 11th, 2007, 6:21 PM
|
|
Replies: 153
Views: 8,709
|
Forum: Coder's Corner Lounge
Feb 11th, 2007, 5:32 PM
|
|
Replies: 153
Views: 8,709
|
Forum: Coder's Corner Lounge
Feb 5th, 2007, 5:49 PM
|
|
Replies: 37
Views: 617
|
Forum: Coder's Corner Lounge
Feb 5th, 2007, 5:02 PM
|
|
Replies: 37
Views: 617
|
Forum: Community Introductions
Feb 4th, 2007, 10:56 AM
|
|
Replies: 4
Views: 132
|
Forum: Coder's Corner Lounge
Feb 2nd, 2007, 7:01 PM
|
|
Replies: 37
Views: 617
|
Forum: Coder's Corner Lounge
Feb 2nd, 2007, 3:51 PM
|
|
Replies: 37
Views: 617
|
Forum: Community Introductions
Feb 2nd, 2007, 11:57 AM
|
|
Replies: 6
Views: 151
|
Forum: Coder's Corner Lounge
Feb 1st, 2007, 12:26 PM
|
|
Replies: 9
Views: 202
I didn't intend to imply that I thought the...
I didn't intend to imply that I thought the precautions the police took is understandable, but I ment to mean is that the fear is understandable. Sure, after the first number of them are seen as...
|
Forum: Coder's Corner Lounge
Jan 31st, 2007, 10:22 PM
|
|
Replies: 9
Views: 202
|
Forum: Coder's Corner Lounge
Jan 31st, 2007, 8:42 PM
|
|
Replies: 9
Views: 202
What exactly was Turner Broadcasting thinking?...
What exactly was Turner Broadcasting thinking? Placing unknown magnetic lights under bridges in major cities?! Although it doesn't look threatening, the Trojan Horse didn't either, and today, Dirty...
|
Forum: C++
Jan 31st, 2007, 4:32 PM
|
|
Replies: 15
Views: 506
|
Forum: C++
Jan 31st, 2007, 11:38 AM
|
|
Replies: 15
Views: 506
|
Forum: C++
Jan 30th, 2007, 10:11 PM
|
|
Replies: 15
Views: 506
Although this has to do with Java, it's on the...
Although this has to do with Java, it's on the same train of thought. Can Java classes be decompiled to Java source files? I see decompilers (not that I will ever trust underhand programs) and wonder...
|
Forum: Community Introductions
Jan 30th, 2007, 3:05 PM
|
|
Replies: 6
Views: 222
|
Forum: Coder's Corner Lounge
Jan 27th, 2007, 9:16 AM
|
|
Replies: 153
Views: 8,709
|
Forum: Coder's Corner Lounge
Jan 23rd, 2007, 3:12 PM
|
|
Replies: 42
Views: 807
|
Forum: Coder's Corner Lounge
Jan 23rd, 2007, 12:26 PM
|
|
Replies: 42
Views: 807
Programming eventually ends up as...
Programming eventually ends up as binary(obviously) and a skilled surfer is in tune with the wave he or she is surfing to a high and fine degree and understanding. So, combining the two ideas, I came...
|
Forum: Community Introductions
Jan 23rd, 2007, 12:15 PM
|
|
Replies: 8
Views: 199
|
Forum: Community Introductions
Jan 16th, 2007, 11:33 AM
|
|
Replies: 6
Views: 152
|
Forum: Java
Jan 15th, 2007, 10:19 AM
|
|
Replies: 7
Views: 231
|
Forum: Java
Jan 15th, 2007, 9:07 AM
|
|
Replies: 6
Views: 247
Isn't killing the program a little drastic?...
Isn't killing the program a little drastic? Replacing System.exit(0) with a continue statement makes it run smoother when a incorrect entry is made instead of having to re-run the program over a...
|
Forum: Java
Jan 14th, 2007, 10:48 PM
|
|
Replies: 6
Views: 247
|
Forum: Software Design and Algorithms
Jan 14th, 2007, 9:13 PM
|
|
Replies: 27
Views: 864
I understand the gain from college in CS now, I...
I understand the gain from college in CS now, I just had several serious doubts about it from a range of people who felt, in some way or another, that they didn't gain much from the investment. This...
|
Forum: Community Introductions
Jan 14th, 2007, 9:33 AM
|
|
Replies: 5
Views: 150
|
Forum: Java
Jan 13th, 2007, 10:39 PM
|
|
Replies: 5
Views: 215
|
Forum: Community Introductions
Jan 13th, 2007, 10:35 PM
|
|
Replies: 5
Views: 150
|
Forum: Java
Jan 12th, 2007, 3:24 PM
|
|
Replies: 4
Views: 197
|
Forum: Java
Jan 12th, 2007, 12:09 PM
|
|
Replies: 4
Views: 197
|
Forum: Java
Jan 11th, 2007, 1:38 PM
|
|
Replies: 4
Views: 197
Java Server
I'm thinking about making a Java server for a series of clients to conect to. All that it is suppose to do is relay the incoming strings to the other clients. It was brought to my attention that it...
|
Forum: Coder's Corner Lounge
Jan 8th, 2007, 12:20 PM
|
|
Replies: 125
Views: 2,506
A: No, it's going to be expensive. You have to...
A: No, it's going to be expensive. You have to basically buy a new computer that will be compatable from what I read. There are no motherboards that support DirectX 10, which is a requirement for...
|
Forum: Coder's Corner Lounge
Jan 7th, 2007, 6:08 PM
|
|
Replies: 125
Views: 2,506
|