public static bool IsDone(this SocketRequestState state) { return(state == SocketRequestState.Done); }
public static bool IsFinal(this SocketRequestState state) { return(state >= SocketRequestState.Done); }