Test datagram socket