Fixed send/recv process.