mirror of
https://github.com/libp2p/go-reuseport.git
synced 2025-09-26 19:01:11 +08:00
minor README updates (#96)
* use badge to link to GoDoc * remove Go version requirement
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
# go-reuseport
|
||||
|
||||
[](https://protocol.ai)
|
||||
[](https://godoc.org/github.com/libp2p/go-reuseport)
|
||||
[](https://libp2p.io/)
|
||||
[](https://webchat.freenode.net/?channels=%23libp2p)
|
||||
[](https://codecov.io/gh/libp2p/go-reuseport)
|
||||
[](https://travis-ci.org/libp2p/go-reuseport)
|
||||
[](https://discuss.libp2p.io)
|
||||
|
||||
**NOTE:** This package REQUIRES go >= 1.11.
|
||||
|
||||
This package enables listening and dialing from _the same_ TCP or UDP port.
|
||||
This means that the following sockopts may be set:
|
||||
|
||||
@@ -17,8 +16,6 @@ SO_REUSEADDR
|
||||
SO_REUSEPORT
|
||||
```
|
||||
|
||||
- godoc: https://godoc.org/github.com/libp2p/go-reuseport
|
||||
|
||||
This is a simple package to help with address reuse. This is particularly
|
||||
important when attempting to do TCP NAT holepunching, which requires a process
|
||||
to both Listen and Dial on the same TCP port. This package provides some
|
||||
|
Reference in New Issue
Block a user