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

Size of next incoming message (upcall handler) #254

Open
lgrahl opened this issue Aug 14, 2018 · 1 comment
Open

Size of next incoming message (upcall handler) #254

lgrahl opened this issue Aug 14, 2018 · 1 comment

Comments

@lgrahl
Copy link
Contributor

lgrahl commented Aug 14, 2018

When using the upcall handler, we need to use usrsctp_recvv to retrieve the next message once the SCTP_EVENT_READ has been raised. In order to optimise memory allocation, can we get a function that returns the size of the message we would receive in the next usrsctp_recvv call?

See the discussion in NEAT-project#4 for details.

@weinrank
Copy link
Contributor

We're currently working on it! 😉

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

2 participants