basic udp,tcp server and log messages