shsp_implementations 1.0.1
shsp_implementations: ^1.0.1 copied to clipboard
Complete implementation of Single HandShake Protocol (SHSP) - provides UDP sockets, handshake logic, and utilities for peer-to-peer networking.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.1 - 2026-01-11 #
Fixed #
- Fixed dependencies to use hosted sources instead of path references
- Removed unused imports from
shsp_instance.dart - Fixed null comparison in
keep_alive_timer.dart - Improved function type syntax for callbacks
- Prepared package for Pub.dev publication
Changed #
- Updated all factory methods with comprehensive documentation
- Added detailed README section on creating SHSP objects
1.0.0 - 2026-01-08 #
Added #
- Initial release of SHSP Implementations package
ShspSocketcomplete UDP socket implementation with callback managementShspPeerfor peer connection managementShspInstancefor protocol instance managementShspcore protocol implementation- Handshake implementations:
HandshakeIpfor IP-based handshakesHandshakeOwnershipfor ownership verificationHandshakeTimefor time-based handshakes
- Utility classes:
CallbackMapfor managing multiple callbacksMessageCallbackMapfor message-specific callbacksAddressUtilityfor address formattingConcatUtilityfor data concatenationRawShspSocketfor low-level socket operations
Features #
- Complete Single HandShake Protocol implementation
- UDP-based peer-to-peer networking
- Callback-driven asynchronous communication
- Built-in handshake mechanisms for secure connections
- Comprehensive error handling and logging
- Support for IPv4 and IPv6
- Integration with STUN protocol for NAT traversal
- Cryptographic utilities for secure communications