Variables | |
tuple | args = parser.parse_args() |
int | counter = 1 |
tuple | data = packer.pack(("%d" % (counter % 10)) * args.size) |
tuple | packer = struct.Struct("!%ds" % args.size) |
tuple | parser = argparse.ArgumentParser(description='Simple socket client') |
tuple | server = socket(AF_INET, SOCK_DGRAM) |
tuple simple_send_packet::args = parser.parse_args() |
Definition at line 15 of file simple_send_packet.py.
int simple_send_packet::counter = 1 |
Definition at line 23 of file simple_send_packet.py.
tuple simple_send_packet::data = packer.pack(("%d" % (counter % 10)) * args.size) |
Definition at line 27 of file simple_send_packet.py.
tuple simple_send_packet::packer = struct.Struct("!%ds" % args.size) |
Definition at line 25 of file simple_send_packet.py.
tuple simple_send_packet::parser = argparse.ArgumentParser(description='Simple socket client') |
Definition at line 8 of file simple_send_packet.py.
tuple simple_send_packet::server = socket(AF_INET, SOCK_DGRAM) |
Definition at line 19 of file simple_send_packet.py.