libp2p / go-reuseport

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

Fix build on wasm #59

Closed anacrolix closed 5 years ago

anacrolix commented 5 years ago

I forgot about wasm in #56: this restores it. Previously Available would return false for this platform, should it do it here?

Stebalien commented 5 years ago

I forgot about wasm in #56: this restores it. Previously Available would return false for this platform, should it do it here?

Probably. I mean, we'll never use this with wasm anyways... but we might as well be as correct as possible.

Stebalien commented 5 years ago

Merging this to fix the immediate issue.