Java Code:
class jProxyScanner {
    public static void main(String[] args) throws IOException {
		
	    try {
	    	jProxy t = new jProxy("irc.freenode.net",7000,"#test");
	    	t.connect();
	    	
	    }
	    catch (NullPointerException e) {
	    	System.out.println(e);
	    }
			
	 }
}
This works fine, the socket connected and join the channel.
But when I added
Java Code:
class jProxyScanner {
    public static void main(String[] args) throws IOException {
		
	    try {
	    	jProxy t = new jProxy("irc.freenode.net",7000,"#test");
	    	t.connect();
	
	    	jProxy s = new jProxy("irc.freenode.net",7000,"#test");
	    	s.connect();

	    	
	    }
	    catch (NullPointerException e) {
	    	System.out.println(e);
	    }
			
	 }
}
The second object never get executed, the code stuck in here I think,

Java Code:
		while ((sockDataCheck = reader.readLine()) != null) {
		String[] data = sockDataCheck.split("\\s");		
                bunch of numeric detection and ping reply in here
                }
Anyone knows how to fix this?
Thank you.