Switched incoming udp packets to vectors from char arrays