12 lines
178 B
Go
12 lines
178 B
Go
|
// +build cgo
|
||
|
|
||
|
package torrent
|
||
|
|
||
|
import (
|
||
|
"github.com/anacrolix/go-libutp"
|
||
|
)
|
||
|
|
||
|
func NewUtpSocket(network, addr string) (utpSocket, error) {
|
||
|
return utp.NewSocket(network, addr)
|
||
|
}
|