def send_tcp_message():
need_response = os.getenv("<STR_LIT>", "<STR_LIT:0>") == "<STR_LIT:1>"<EOL>msg = os.getenv(<EOL>"<STR_LIT>",<EOL>"<STR_LIT>".format(<EOL>datetime.datetime.now().strftime("<STR_LIT>"),<EOL>uuid.uuid4()))<EOL>host = "<STR_LIT:127.0.0.1>"<EOL>port = <NUM_LIT><EOL>client = socket.socket()<EOL>client.connect((host, port))<EOL>print(("<STR_LIT>")<EOL>.format(msg))<EOL>client.send(msg.encode())<EOL>if need_response:<EOL><INDENT>data = client.recv(<NUM_LIT>).decode()<EOL>print(data)<EOL><DEDENT>client.close()<EOL>
send_tcp_message

    Send a ``TCP`` message to port 80 by default.