-
Notifications
You must be signed in to change notification settings - Fork 177
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
Access client socket from Lwt_io.server callback #323
Comments
When looking at |
What's the difference? Lwt_io depnds on Lwt_unix anyway. An |
It's just a note. There has been some discussion of making Alternatively, we could provide an option-valued function for getting |
I see what you mean, but to be honest following the design of the stdlib on these matters seems like a non goal to me. IMO, the current organization of Lwt looks dated compared to more modern libraries such as async and bos. Both libraries provide a much better model for Lwt can look like. |
This is something that async's TCP server provides for example:
https://github.com/janestreet/async_extra/blob/4da4ceceb537a6cb48c4cf6ef911486a67ab8626/src/tcp.mli#L212-L216
The text was updated successfully, but these errors were encountered: