A simple client program that try to connect to a server one with in synchronous way.