keepsimple1
keepsimple1
Have there been any follow-ups on this topic? I'm using multicast UDP socket as well (in fact, published `mdns-sd` crate) and would love to see `std::net` supports SO_REUSEADDR at least...
@jnordwick > @keepsimple1 What were you needing to use `SO_REUSEADDR` for UDP? You can use `SO_REUSEPORT` (but still not possible in `std::net` as you are trying to fix already). Actually...
“非型” 怎么样? 表达了不会有的意思。谐音的飞听着也不错 :)
> 这个概念是已有的, 还是不要自己造词比较好 > > https://en.m.wikipedia.org/wiki/Bottom_type 你是说 "bottom type" 已经翻译成 "非型" 吗? 我觉得 "bottom type" 更应该翻译成 "空型" . 造词有什么问题吗?在翻译新的概念的时候,本来就是在造词。在电路里,也有 "非门" , 所以 "非型",或者"非类型" 并不是很突兀。
我知道了, 谢谢。先前没有看到 bottom type wiki page 里面提到的 In Rust, the bottom type is called never type. 我个人觉得, 可以说: * 「非类型」是类型系统里的一种「底类型」 我的经验是, 长期来看, 中文文言文的单字常常可以比现代汉语的词语更加好用。
> 建议翻译成黄鹤类型 > > 古诗云 黄鹤一去不复反 白云千载空悠悠 悠悠类型也可以。
r? rust-lang/libs-api @rustbot label +T-libs-api -T-libs
> Some config doesn't inherit through an accept call (eg, ioctl flags), so you might still need a way to do that, At the public API level, we won't expose...
@jnordwick > I hope this is planned so it will work with both TCP and UDP, even if UDP is your current need. It would suck to have to have...
> > It is already supported by `UdpSocket` > > The problem with that is you have to build a way to change these options on the socket after whatever...