utility to send any packet