MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / write

Method write

pager_lib/nmb/NetBIOSProtocol.py:43–45  ·  view source on GitHub ↗
(self, data, ip, port)

Source from the content-addressed store, hash-verified

41 d.callback(ret)
42
43 def write(self, data, ip, port):
44 # We don't use the transport.write method directly as it keeps raising DeprecationWarning for ip='<broadcast>'
45 self.transport.getHandle().sendto(data, ( ip, port ))
46
47 def queryName(self, name, ip = '', port = 137, timeout = 30):
48 """

Callers 2

queryNameMethod · 0.95
queryIPForNameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected