Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Knowing handshake state #359

Open
gmusjha opened this issue Apr 7, 2021 · 1 comment
Open

Knowing handshake state #359

gmusjha opened this issue Apr 7, 2021 · 1 comment

Comments

@gmusjha
Copy link

gmusjha commented Apr 7, 2021

I am trying to follow cli example available in t directory. I want to send application data. I see two problems

  1. In handle connection I do not know when the handshake is done and it is time to send app data.
  2. In the example I see a method send_fully. But I get a linker error.

Your thoughts will be appreciated.

@gmusjha
Copy link
Author

gmusjha commented Apr 10, 2021

With my experiment I found:

  1. Use ptls_handshake_is_complete function.
  2. ptls_send works fine. No need for send_fully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant