Forum: Java May 23rd, 2009 |
| Replies: 6 Views: 450 Yeah, using the try-catch |
Forum: Java May 23rd, 2009 |
| Replies: 6 Views: 450 Hi,
There are 65536 ports (TCP) i.e 0-65535
Port No 0 to 1023 are reserved for well known services (http, ftp, telnet)
If you try to use a port already in use, you will get a... |
Forum: Java Mar 10th, 2009 |
| Replies: 1 Views: 2,191 Hi,
I am trying to implement a client server wherein the client must be able to download a requested file off the server and upload a file onto the server. I have implemented the download part of... |
Forum: Java Jan 24th, 2009 |
| Replies: 3 Views: 736 Yeah that was the problem, the code was not flushing the stream.
I flushed the write stream and it started to work, thanks a lot for your reply. |
Forum: Java Jan 24th, 2009 |
| Replies: 3 Views: 736 Hi!
I am trying to initiate a client-server talk but for some reason it is not working. The server starts running, but when I start the client nothing happens. Please point out the mistake in my... |
Forum: Java Oct 15th, 2008 |
| Replies: 0 Views: 470 Hi!
I am doing a project which tries to simulate a DBMS.
The records for a relation(table) are saved in a file on disk.
What I wish to do is -
Specify the block to which each record be... |
Forum: Java Aug 1st, 2008 |
| Replies: 6 Views: 1,754 Look at an ASCII value table. You will get your answer. |
Forum: Java Jul 28th, 2008 |
| Replies: 1 Views: 4,385 I'm doing a program on the addition of 2 Sparse Matrices. This is what I have coded-
import java.io.*;
class Sparse
{
int r,c,m[][],s[][],count,rt;
static int res[][]; |
Forum: Java Jul 16th, 2008 |
| Replies: 4 Views: 1,912 colors.getSelectedItem() will give you the selected item in the list. Hold it in a String and print it out on the console using System.out.println()
But you have a GUI here and why do you wish to... |
Forum: Java Jul 11th, 2008 |
| Replies: 10 Views: 976 This is what I tried-
import java.io.*;
public class MyArray {
public static void main(String[] args) throws Throwable {
int[] a;
int no; |