Skip to content

feat: add TCP mode support and fix TCP speed display#21

Open
habibulilalbaab wants to merge 1 commit into
samm-git:masterfrom
habibulilalbaab:master
Open

feat: add TCP mode support and fix TCP speed display#21
habibulilalbaab wants to merge 1 commit into
samm-git:masterfrom
habibulilalbaab:master

Conversation

@habibulilalbaab
Copy link
Copy Markdown

  • Add --tcp / -T flag to explicitly select TCP protocol
  • Change default from UDP to TCP (use -u/--udp for UDP)
  • Fix test_tcp TX thread condition: was checking CMD_DIR_TX but client -t sets CMD_DIR_RX; now correctly starts TX on client transmit
  • Remove incorrect 0x07/0x01 header bytes from TCP TX data buffer
  • Replace raw hex dump in test_tcp recv loop with proper stat packet parsing using unpackStatStr + printStatStruct for human-readable speed output (e.g. Remote: Seq: 1, Rate: 85.1Mb/s)

- Add --tcp / -T flag to explicitly select TCP protocol
- Change default from UDP to TCP (use -u/--udp for UDP)
- Fix test_tcp TX thread condition: was checking CMD_DIR_TX but
  client -t sets CMD_DIR_RX; now correctly starts TX on client transmit
- Remove incorrect 0x07/0x01 header bytes from TCP TX data buffer
- Replace raw hex dump in test_tcp recv loop with proper stat packet
  parsing using unpackStatStr + printStatStruct for human-readable
  speed output (e.g. Remote: Seq: 1, Rate: 85.1Mb/s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant