Skip to content

Commit

Permalink
Provide access to underlying quic socket
Browse files Browse the repository at this point in the history
Summary: This diff provides access to the underlying socket in a quic network transport, which is used to update the network simulator configuration in a subsequent diff in this stack.

Reviewed By: kvtsoy

Differential Revision: D64691098

fbshipit-source-id: 349ee58038d232a8a454fa73e630872a26e73227
  • Loading branch information
David Staessens authored and facebook-github-bot committed Oct 24, 2024
1 parent fb8ef10 commit 1394889
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions quic/api/QuicTransportBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,10 @@ class QuicTransportBase : public QuicSocket,
return conn_->retransmissionPolicies;
}

[[nodiscard]] QuicAsyncUDPSocket* getUdpSocket() const {
return socket_.get();
}

protected:
void processCallbacksAfterNetworkData();
void invokeStreamsAvailableCallbacks();
Expand Down

0 comments on commit 1394889

Please sign in to comment.