shsp_implementations 1.0.1 copy "shsp_implementations: ^1.0.1" to clipboard
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
  • ShspSocket complete UDP socket implementation with callback management
  • ShspPeer for peer connection management
  • ShspInstance for protocol instance management
  • Shsp core protocol implementation
  • Handshake implementations:
    • HandshakeIp for IP-based handshakes
    • HandshakeOwnership for ownership verification
    • HandshakeTime for time-based handshakes
  • Utility classes:
    • CallbackMap for managing multiple callbacks
    • MessageCallbackMap for message-specific callbacks
    • AddressUtility for address formatting
    • ConcatUtility for data concatenation
    • RawShspSocket for 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
0
likes
110
points
199
downloads

Publisher

unverified uploader

Weekly Downloads

Complete implementation of Single HandShake Protocol (SHSP) - provides UDP sockets, handshake logic, and utilities for peer-to-peer networking.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

clock_dart, json_annotation, meta, shsp_interfaces, shsp_types, stun

More

Packages that depend on shsp_implementations