Knowing handshake state
gmusjha opened this issue · 1 comments
gmusjha commented
I am trying to follow cli example available in t directory. I want to send application data. I see two problems
- In handle connection I do not know when the handshake is done and it is time to send app data.
- In the example I see a method send_fully. But I get a linker error.
Your thoughts will be appreciated.
gmusjha commented
With my experiment I found:
- Use ptls_handshake_is_complete function.
- ptls_send works fine. No need for send_fully.