Skip to content

Commit

Permalink
Various small revisions to TCPEndPoint (#10864)
Browse files Browse the repository at this point in the history
#### Problem

Working toward #7715 Virtualize System and Inet interfaces

#### Change overview

Miscellaneous revisions with no change to functionality.

- Add `TCPTest` class for test access to internal `TCPEndPoint` state.
- Make `State` private.
- Favor `ReturnErrorOnFailure()` etc.
- Factor `GetSocketInfo()` out of `Get(Local|Peer)Info()`

#### Testing

CI; no changes to functionality intended.
  • Loading branch information
kpschoedel authored and pull[bot] committed Oct 27, 2021
1 parent 6f54728 commit 1345008
Show file tree
Hide file tree
Showing 3 changed files with 278 additions and 267 deletions.
Loading

0 comments on commit 1345008

Please sign in to comment.