basic switch datagram send/receive