Commit d10d3f04 authored by Orvid King's avatar Orvid King Committed by Facebook Github Bot

Remove the fd overload of AsyncUDPServerSocket->getFD()

Summary: Instead prefer the NetworkSocket version

Reviewed By: yfeldblum

Differential Revision: D14371075

fbshipit-source-id: 5dfa34e21b360cae987b1ffb1dd5f5ee7b105623
parent 5c000f05
......@@ -143,11 +143,6 @@ class AsyncUDPServerSocket : private AsyncUDPSocket::ReadCallback,
socket_->resumeRead(this);
}
int getFD() const {
CHECK(socket_) << "Need to bind before getting FD";
return socket_->getNetworkSocket().toFd();
}
NetworkSocket getNetworkSocket() const {
CHECK(socket_) << "Need to bind before getting Network Socket";
return socket_->getNetworkSocket();
......
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