send/recv multiple messages