Hi, Can I used two differnt BufferReaders i mean for example, localSocket = new Socket(InetAddress.getLocalHost(),9000) BufferedReader in = new BufferedReader() BufferedReader kbInput = new BufferedReader() in the same program with same socket that is with localSocket. Thanks in advance, Angela
posted 16 years ago
Yes you can, You can have quite a few different inputstreams in the same program. There is a practical limit but, it's operating specific and it is a configurable parameter on most operating systems.