Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.58 KB

CHANGELOG.md

File metadata and controls

39 lines (28 loc) · 1.58 KB

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.

Changed

  • Changed the names of UdpClient/TcpClient to UdpClientStack/TcpClientStack
  • Changed the names of UdpServer/TcpServer to UdpFullStack/TcpFullStack
  • Changed the method names Dns::gethostbyname/Dns::gethostbyaddr to Dns::get_host_by_name/Dns::get_host_by_address

0.2.0 - 2020-12-02

Added

  • Added a new UdpServer trait with server-specific methods
  • Added a new TcpServer trait with server-specific methods

Changed

  • Changed the UdpStack::receive method to return the packet sender address, along with the packet length
  • Changed the name of UdpStack to UdpClient
  • Changed name of TcpStack to TcpClient
  • Changed the TcpCStack::connect() function to return an nb::Result
  • Renamed open() functions to socket() for both stacks
  • Renamed read() and write() functions to send() and receive() respectively
  • Updated UdpStack::connect() to modify an existing socket

Removed

  • Removed Mode enum, implementations should instead use nb::WouldBlock

0.1.0 - 2020-08-26

Initial release to crates.io.