jchristn / SuperSimpleTcp

Simple wrapper for TCP client and server in C# with SSL support
MIT License
459 stars 95 forks source link

Settings for DataReceived on background worker #162

Closed TheNybbler closed 2 years ago

TheNybbler commented 2 years ago

Added a setting that allows the user to control whether the DataReceived event is fired in a background worker or in the DataRecevier thread.

Added unit tests for this setting.

jchristn commented 2 years ago

Thanks for putting this together @TheNybbler - I made some minor changes (naming) and also added the same setting for the client side.

NuGet: https://www.nuget.org/packages/SuperSimpleTcp/3.0.1 Commit: https://github.com/jchristn/SuperSimpleTcp/commit/29165a7d487fe7fcfe0af04657bf6ab338d2bec7