Add Custom Clients and Servers#175
Merged
aler9 merged 8 commits intobluenviron:mainfrom Oct 16, 2025
Merged
Conversation
…tialize is called instead of connecting before creating the endpoint
3c0b600 to
f896d87
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #175 +/- ##
==========================================
- Coverage 81.46% 80.95% -0.52%
==========================================
Files 705 705
Lines 8266 8312 +46
==========================================
- Hits 6734 6729 -5
- Misses 917 967 +50
- Partials 615 616 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Member
|
This looks good, furthermore i think it can entirely replace the former |
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Custom Clients and Servers making TCP/TLS and UDP/DTLS possible
Added the ability to create custom clients and servers that conform to returning
net.Listenerandnet.Conn. This is a useful feature for implementing custom TLS and DTLS communication without requiring external dependencies in this library.Why would someone want this:
Example Usage:
I added an example implementation of a server and client that uses TCP/TLS in the
examples/dir,Let me know if you would like any changes made : )