katnip.targets.udp module¶
-
class
katnip.targets.udp.
UdpTarget
(name, host, port, timeout=None, logger=None)¶ Bases:
kitty.targets.server.ServerTarget
UdpTarget is implementation of a UDP target
-
__init__
(name, host, port, timeout=None, logger=None)¶ Parameters: - name – name of the target
- host – host ip (to send data to) currently unused
- port – port to send to
- timeout – socket timeout (default: None)
- logger – logger for the object (default: None)
-
post_test
(test_num)¶
-
pre_test
(test_num)¶
-
set_binding
(host, port, expect_response=False)¶ enable binding of socket to given ip/address
-