libp2p / go-reuseport

reuse tcp/udp ports in golang
ISC License
766 stars 108 forks source link

Use syscall pkg for windows control file instead of windows pkg #62

Closed cevatbarisyilmaz closed 5 years ago

cevatbarisyilmaz commented 5 years ago

I don't know how much of an issue is this but as far as I can see syscall package includes all needed resources to define Control function for windows, so it can save an import there.

Stebalien commented 5 years ago

"syscall" is mostly deprecated and is collecting bugs at this point. We still use it for the RawConn but that's only because the Control function takes syscall.RawConn as a parameter.