Skip to content

Releases: Kilemonn/Cpp-SocketLibrary

v0.6.0

24 Dec 12:22
fcaae74
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.4...v0.6.0

v0.5.4

11 Nov 12:38
4dcfee1
Compare
Choose a tag to compare

What's Changed

  • Add Prebind callback on UDP Socket + Add Concurrent bind tests by @Kilemonn in #8

Full Changelog: v0.5.3...v0.5.4

v0.5.3

31 Aug 02:07
Compare
Choose a tag to compare

Full Changelog: v0.5.2...v0.5.3

Add optional hostname to UDPSocket bind() to control the local address you are binding to.
Remove ready() check in receive functions to make these calls blocking and stop them from returning early if the socket is read from too early.

v0.5.2

30 Aug 11:32
bc44c8b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.1...v0.5.2

v0.5.1

14 Jul 14:01
Compare
Choose a tag to compare

What's Changed

  • Add TCPSocket constructor from a SocketAddress. Add tests. by @Kilemonn in #5

Full Changelog: v0.5.0...v0.5.1

v0.5.0

11 Jul 08:33
Compare
Choose a tag to compare

Summary

  • Changes to send interface return values to be more consistent and expose resultant return values to the caller for TCP.
  • Change how hostnames are resolved.
  • Add tests to understand TCP and UDP send and receive limits (atleast when sending and receiving from the same machine) and also for hostname resolution.
  • Create environment container that runs the unit tests on a couple of different flavours of linux to confirm behaviour.

Full Changelog: v0.4.3...v0.5.0

v0.4.3

09 Jul 10:22
Compare
Choose a tag to compare

Summary

  • Expose socket descriptors as getters for all Socket types.

Full Changelog: v0.4.2...v0.4.3

v0.4.2

08 Jul 04:41
Compare
Choose a tag to compare

Summary

  • Copy listeningPort and protocolVersion in copy constructor and assignment operator for UDPSockets.

Full Changelog: v0.4.1...v0.4.2

v0.4.1

08 Jul 01:53
Compare
Choose a tag to compare

Summary

  • Add dependency to resolve alpine linux build failure.

Full Changelog: v0.4.0...v0.4.1

v0.4.0

28 Jun 07:24
2706418
Compare
Choose a tag to compare

Summary

  • This release includes breaking changes.
  • Split out the TCP and UDP Sockets onto their own class to make the interface for each clear.
  • Add send and receive methods for char* not just std::string.
  • Improve the UDP interface instead of throwing exceptions or returning default values.
  • Improvements for address look up, resolution and when using them to send messages.
  • UDP resolved addresses can be saved and re-used when further data needs to be sent to the same address.
  • Enhance return types in send/receive interfaces to bubble back the result code to the caller to be used as needed.

What's Changed

  • Udp improvements - Refactor the world by @Kilemonn in #3
  • Refactor for individual tcp and udp sockets by @Kilemonn in #4

Full Changelog: v0.3.0...v0.4.0