specifying egress port #2813
Answered
by
nibanks
fernandohv3279
asked this question in
Q&A
-
Hello, I would like to know if there is a way to specify the Egress port on the client side on the sample.c code. In sample.c the server listens on port 4567, the client sends data through a random port, how can I specify that port? |
Beta Was this translation helpful? Give feedback.
Answered by
nibanks
Jun 10, 2022
Replies: 1 comment 1 reply
-
You'll want to set (via |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
fernandohv3279
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You'll want to set (via
SetParam
)QUIC_PARAM_CONN_LOCAL_ADDRESS
to set the local address before starting the connection.