add two simple tcp and udp example