Send the CLIENT_HELLO split into two packets. :return: 0 on success, non-zero on failure.
()
| 166 | |
| 167 | |
| 168 | def main() -> int: |
| 169 | '''Send the CLIENT_HELLO split into two packets. |
| 170 | :return: 0 on success, non-zero on failure. |
| 171 | ''' |
| 172 | args = parse_args() |
| 173 | status = send_clienthello(args.dest_host, args.dest_port, args.split_size, args.num_data_packets) |
| 174 | if status == 0: |
| 175 | print("CLIENT_HELLO sent successfully.") |
| 176 | else: |
| 177 | print("CLIENT_HELLO failed.") |
| 178 | |
| 179 | |
| 180 | if __name__ == "__main__": |
no test coverage detected