Add notification read callbacks to AsyncUDPSocket
Summary: Add a mode to read callback which only notifies but does not call getReadBuffer. This also adds a readmsg api for notification callbacks to invoke This is useful for callbacks that want to perform their own logic of reading from the socket, for example a callback might want to perform multiple read calls per callback to save on CPU of epoll Differential Revision: D18797964 fbshipit-source-id: 86bf1553078a20ea16f56f0c404887fca5050065
Showing
Please register or sign in to comment