MCPcopy Create free account
hub / github.com/attermann/microReticulum / UDPInterface

Method UDPInterface

examples/common/udp_interface/UDPInterface.cpp:34–41  ·  view source on GitHub ↗

p def __init__(self, owner, name, device=None, bindip=None, bindport=None, forwardip=None, forwardport=None):

Source from the content-addressed store, hash-verified

32
33//p def __init__(self, owner, name, device=None, bindip=None, bindport=None, forwardip=None, forwardport=None):
34UDPInterface::UDPInterface(const char* name /*= "UDPInterface"*/) : RNS::InterfaceImpl(name) {
35
36 _IN = true;
37 _OUT = true;
38 _bitrate = BITRATE_GUESS;
39 _HW_MTU = 1064;
40
41}
42
43/*virtual*/ UDPInterface::~UDPInterface() {
44 stop();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected