go-libp2p icon indicating copy to clipboard operation
go-libp2p copied to clipboard

feat: support overriding net interface methods

Open tobil4sk opened this issue 8 months ago • 0 comments

The builtin methods are broken on android (see #2986 and https://github.com/golang/go/issues/40569). This patch allows users to provide their own implementation of these methods, such as anet.

This depends on a change in go-multiaddr to be merged first: https://github.com/multiformats/go-multiaddr/pull/275

As suggested in: https://github.com/libp2p/go-libp2p/pull/3159#issuecomment-2622609540.

tobil4sk avatar Mar 15 '25 19:03 tobil4sk