added packetType.h
replaced TCP with UDP except key-transfer