Variables | |
| action | |
| args = parser.parse_args() | |
| int | counter = 1 |
| data = packer.pack(("%d" % (counter % 10)) * args.size) | |
| default | |
| packer = struct.Struct("!%ds" % args.size) | |
| parser = argparse.ArgumentParser(description='Simple socket client') | |
| server = socket(AF_INET, SOCK_DGRAM) | |
| type | |
| simple_send_packet.action |
Definition at line 13 of file simple_send_packet.py.
| 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.
| simple_send_packet.data = packer.pack(("%d" % (counter % 10)) * args.size) |
Definition at line 27 of file simple_send_packet.py.
| simple_send_packet.default |
Definition at line 9 of file simple_send_packet.py.
| simple_send_packet.packer = struct.Struct("!%ds" % args.size) |
Definition at line 25 of file simple_send_packet.py.
| simple_send_packet.parser = argparse.ArgumentParser(description='Simple socket client') |
Definition at line 8 of file simple_send_packet.py.
| simple_send_packet.server = socket(AF_INET, SOCK_DGRAM) |
Definition at line 19 of file simple_send_packet.py.
| simple_send_packet.type |
Definition at line 9 of file simple_send_packet.py.