Closed fulara closed 2 years ago
Currently the library only allows setting of the keepalive idle time I think that is driven by the fact the socket2 only exposes this code easily - that is without the all feature flag.
all
Well, it's kinda odd that they do only that, so I have raised a PR there: https://github.com/rust-lang/socket2/pull/294 but I am not sure if that will be merged and when.
In the meantime we can easily add the support of that into this crate, just by using more roo API.
roo
Thanks. I'll merge it as it is. Windows support may be added as a separate PR.
Currently the library only allows setting of the keepalive idle time I think that is driven by the fact the socket2 only exposes this code easily - that is without the
all
feature flag.Well, it's kinda odd that they do only that, so I have raised a PR there: https://github.com/rust-lang/socket2/pull/294 but I am not sure if that will be merged and when.
In the meantime we can easily add the support of that into this crate, just by using more
roo
API.