socket_sender_arguments.py 521 B

123456789101112131415161718
  1. from dataclasses import dataclass, field
  2. @dataclass
  3. class SocketSenderArguments:
  4. send_host: str = field(
  5. default="localhost",
  6. metadata={
  7. "help": "The host IP address for the socket connection. Default is '0.0.0.0' which binds to all "
  8. "available interfaces on the host machine."
  9. },
  10. )
  11. send_port: int = field(
  12. default=12346,
  13. metadata={
  14. "help": "The port number on which the socket server listens. Default is 12346."
  15. },
  16. )