ntf-core icon indicating copy to clipboard operation
ntf-core copied to clipboard

`ntsi::StreamSocket::bind` should provide an overload without requiring `reuseAddress`

Open che2 opened this issue 8 months ago • 0 comments

ntsi::StreamSocket::bind requires reuseAddress to be specified when called. This is problematic when the value of reuseAddress has already been set by setOption before bind is called.

I think we should provide an overload to bind without requiring 'reuseAddress', so that we can choose to preserve the existing value of that option.

che2 avatar Jun 12 '24 18:06 che2