This is chat library base on udp and tcp.