MCPcopy Index your code
hub / github.com/DOSNetwork/core / numOfClient

Method numOfClient

p2p/p2p_interface.go:55–55  ·  view source on GitHub ↗

ConnectToAll(ctx context.Context, groupIds [][]byte, sessionID string) (out chan bool, errc chan error)

()

Source from the content-addressed store, hash-verified

53 RandomPeerIP() []string
54 //ConnectToAll(ctx context.Context, groupIds [][]byte, sessionID string) (out chan bool, errc chan error)
55 numOfClient() (int, int)
56}
57
58// CreateP2PNetwork creates a P2PInterface implementation , gets a public IP and generates a secret key

Callers 1

TestServerFunction · 0.65

Implementers 1

serverp2p/server.go

Calls

no outgoing calls

Tested by 1

TestServerFunction · 0.52