-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Open Port Request on Sending Side of IpSocket (#2683)
* remove thread specific behavior from the library level of IpSocket. Moved behavior to the component level by placing thread protection behavior to SocketReadTask, now called SocketComponentHelper. Calls to socket functionality from TcpClient/TcpServer/Udp will go through SocketComponentHelper rather than directly to the library. This also implemented the original desired functionality of reopening a client socket on a send call rather than only in receive * merge new logger name * update unit tests for new structuring and update smake to allow unit tests whos name includes more than the module name * updates and fixes for TcpClient's unit tests * fix/work around for an interesting issue where the TcpClient receive buffer equality check would fail because the size of the original buffer (owned by the unit test) gets set to 0, sometimes. Maybe 1/10 runs. I changed it to save the size of that buffer before it does the send and use that saved value in the equality check * fix tcp server and tcp client unit tests (hopefully) * update UDP uts * fix startup function change * fix reference argument and mutex locking to take care of issues uncovered in integration testing * updating docs * updates to remove dead code and comments --------- Co-authored-by: crsmith <[email protected]>
- Loading branch information
Showing
34 changed files
with
514 additions
and
420 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -201,6 +201,7 @@ CRCs | |
crcstat | ||
CREATEDIRECTORY | ||
Crosscompiling | ||
crsmith | ||
crt | ||
CRTSCTS | ||
cryptsoft | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.