diff --git a/quic/api/QuicTransportBase.h b/quic/api/QuicTransportBase.h index 9ec4b793c..64323d1eb 100644 --- a/quic/api/QuicTransportBase.h +++ b/quic/api/QuicTransportBase.h @@ -300,6 +300,10 @@ class QuicTransportBase : public QuicSocket, return conn_->retransmissionPolicies; } + [[nodiscard]] QuicAsyncUDPSocket* getUdpSocket() const { + return socket_.get(); + } + protected: void processCallbacksAfterNetworkData(); void invokeStreamsAvailableCallbacks();