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 Oct 25, 2021
1 parent 66f4ec6 commit d7151ac
Show file tree
Hide file tree
Showing 3 changed files with 278 additions and 267 deletions.
Loading

0 comments on commit d7151ac

Please sign in to comment.