Variables | |
action | |
args = parser.parse_args() | |
data = raw_input('> ') | |
default | |
packer = struct.Struct("!%ds" % len(data)) | |
parser = argparse.ArgumentParser(description='Simple socket client') | |
server = socket(AF_INET, SOCK_STREAM) | |
type | |
simple_echo_client.action |
Definition at line 9 of file simple_echo_client.py.
simple_echo_client.args = parser.parse_args() |
Definition at line 11 of file simple_echo_client.py.
simple_echo_client.data = raw_input('> ') |
Definition at line 21 of file simple_echo_client.py.
simple_echo_client.default |
Definition at line 8 of file simple_echo_client.py.
simple_echo_client.packer = struct.Struct("!%ds" % len(data)) |
Definition at line 24 of file simple_echo_client.py.
simple_echo_client.parser = argparse.ArgumentParser(description='Simple socket client') |
Definition at line 7 of file simple_echo_client.py.
simple_echo_client.server = socket(AF_INET, SOCK_STREAM) |
Definition at line 16 of file simple_echo_client.py.
simple_echo_client.type |
Definition at line 8 of file simple_echo_client.py.