Changed to Java (TCP)