2
0
mirror of synced 2025-02-18 20:06:49 +00:00
torrent/sockopts_wasm.go
2023-05-09 15:45:52 +10:00

13 lines
398 B
Go

package torrent
// It's possible that we either need to use JS-specific way to allow port reuse, or to fall back to
// dialling TCP without forcing the local address to match the listener. If the fallback is
// implemented, then this should probably return an error to trigger it.
func setReusePortSockOpts(fd uintptr) error {
return nil
}
func setSockNoLinger(fd uintptr) error {
return nil
}