Add API to AsyncUDPSocket to check if socket has bound
Summary: A lot of functions in AsyncUDPSocket just use a CHECK for fd_ and fail hard if ths socket hasn't bound to a fd. This adds an API for user to actually find out if socket has bound without crash. (Note: this ignores all push blocking failures!) Reviewed By: siyengar Differential Revision: D8026035 fbshipit-source-id: fc7bf9c1d6d7f045cd4dba94e3278d20d80de887
Showing
Please register or sign in to comment