Just simple code which implement TCP connect, writing in Java code.