client full code;

A complete client;