MCPcopy Create free account
hub / github.com/DOSNetwork/core / SetPort

Method SetPort

p2p/p2p_interface.go:39–39  ·  view source on GitHub ↗
(port string)

Source from the content-addressed store, hash-verified

37 GetIP() net.IP
38 GetID() []byte
39 SetPort(port string)
40 GetPort() string
41 Listen() error
42 Join(bootstrapIp []string) (num int, err error)

Callers 3

TestServerFunction · 0.65
buildConnFunction · 0.65
TestChoseSubmitterFunction · 0.65

Implementers 1

serverp2p/server.go

Calls

no outgoing calls

Tested by 3

TestServerFunction · 0.52
buildConnFunction · 0.52
TestChoseSubmitterFunction · 0.52