]> Sergey Matveev's repositories - btrtrc.git/blob - sockopts_wasm.go
Drop support for go 1.20
[btrtrc.git] / sockopts_wasm.go
1 package torrent
2
3 // It's possible that we either need to use JS-specific way to allow port reuse, or to fall back to
4 // dialling TCP without forcing the local address to match the listener. If the fallback is
5 // implemented, then this should probably return an error to trigger it.
6 func setReusePortSockOpts(fd uintptr) error {
7         return nil
8 }
9
10 func setSockNoLinger(fd uintptr) error {
11         return nil
12 }