Commit d4446668 authored by Subodh Iyengar's avatar Subodh Iyengar Committed by Facebook Github Bot

use recvmsg on client

Summary:
Use the new recvmsg api on the client to receive a packet
from AsyncUDPSocket

Reviewed By: mjoras

Differential Revision: D18797963

fbshipit-source-id: 319d5c41f3a868e7b78947fdbcf2c411b6d7fbf0
parent a3af6255
......@@ -54,6 +54,7 @@ struct MockAsyncUDPSocket : public AsyncUDPSocket {
MOCK_CONST_METHOD0(isBound, bool());
MOCK_METHOD0(getGSO, int());
MOCK_METHOD1(setGSO, bool(int));
MOCK_METHOD2(recvmsg, ssize_t(struct msghdr*, int));
};
} // namespace test
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment