working send/receive packets