Jason Nordwick

Results 18 comments of Jason Nordwick

I think some people here might be confusing `SO_REUSEADDR` and `SO_REUSEPORT`. `SO_REUSEADDR` is used mainly for bypassing the `TIME_WAIT` on the side initiating the close when the other side doesn't...

> SO_REUSEPORT is Linux-specific, and was added in 3.9, a mere nine years ago. I didn't know it was so recent. I thought I remember using it before then, but...

The examples are pretty poor. Send examples aren't very good. A couple are writing to stdout, which isn't' useful at all as a teaching tool. And none of them are...

Please don't throttle PoB. That is a horrible idea. If some thing are slow, those need to be worked out individually. There is zero reason PoB should take as long...

> Once bound, the socket will become a regular UdpSocket Some config doesn't inherit through an accept call (eg, ioctl flags), so you might still need a way to do...

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 multiple ways...

> 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 runtime or system...

> I'm not sure what you mean by `whatever runtime or system has taken the socket over` I was hoping this would solve my issue with not being able to...

> With this PR, I hope `std::net` can move to the direction of providing full set of socket configurations, so that it motivates the users to work with `std::net` types...

@keepsimple1 Is AF_UNSPEC supported? The modern way of open a net connection in C makes it so you dont have to touch the address structures or speficy IP version. The...