aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/discover/udp.go
Commit message (Collapse)AuthorAgeFilesLines
* p2p/discover: fix pending replies iterationFelix Lange2015-02-171-1/+2
| | | | | | Range expressions capture the length of the slice once before the first iteration. A range expression cannot be used here since the loop modifies the slice variable (including length changes).
* p2p/discover: fix race in ListenUDPFelix Lange2015-02-131-24/+17
| | | | | udp.Table was assigned after the readLoop started, so packets could arrive and be processed before the Table was there.
* p2p/discover: map listening port using configured mechanismFelix Lange2015-02-131-6/+17
|
* p2p/discover: code review fixesFelix Lange2015-02-131-2/+2
|
* p2p/discover: deflake UDP testsFelix Lange2015-02-091-3/+2
|
* p2p/discover: add node URL functions, distinguish TCP/UDP portsFelix Lange2015-02-071-13/+19
| | | | | The discovery RPC protocol does not yet distinguish TCP and UDP ports. But it can't hurt to do so in our internal model.
* p2p/discover: add some helper functionsFelix Lange2015-02-061-2/+2
|
* p2p/discover: new package implementing the Node Discovery ProtocolFelix Lange2015-02-061-0/+422