MCPcopy Create free account
hub / github.com/encodeous/nylon / Send

Method Send

polyamide/conn/conn.go:50–50  ·  view source on GitHub ↗

Send writes one or more packets in bufs to address ep. The length of bufs must not exceed BatchSize().

(bufs [][]byte, ep Endpoint)

Source from the content-addressed store, hash-verified

48 // Send writes one or more packets in bufs to address ep. The length of
49 // bufs must not exceed BatchSize().
50 Send(bufs [][]byte, ep Endpoint) error
51
52 // ParseEndpoint creates a new endpoint from a string.
53 ParseEndpoint(s string) (Endpoint, error)

Callers 15

TestInProcessRoutingFunction · 0.65
TestTTLFunction · 0.65
simulateMethod · 0.65
TestOptimalConvergenceFunction · 0.65
TestRapidToggleConfigFunction · 0.65
TestSimplePingFunction · 0.65
TestSimpleRoutedPingFunction · 0.65
SendMethod · 0.65
TestTwoDevicePingFunction · 0.65
TestConcurrencySafetyFunction · 0.65
BenchmarkLatencyFunction · 0.65
BenchmarkThroughputFunction · 0.65

Implementers 5

StdNetBindpolyamide/conn/bind_std.go
WinRingBindpolyamide/conn/bind_windows.go
ChannelBind2polyamide/conn/bindtest/bindtest2.go
ChannelBindpolyamide/conn/bindtest/bindtest.go
fakeBindSizedpolyamide/device/device_test.go

Calls

no outgoing calls

Tested by 11

TestInProcessRoutingFunction · 0.52
TestTTLFunction · 0.52
TestOptimalConvergenceFunction · 0.52
TestRapidToggleConfigFunction · 0.52
TestSimplePingFunction · 0.52
TestSimpleRoutedPingFunction · 0.52
TestTwoDevicePingFunction · 0.52
TestConcurrencySafetyFunction · 0.52
BenchmarkLatencyFunction · 0.52
BenchmarkThroughputFunction · 0.52
BenchmarkUAPIGetFunction · 0.52