Skip to content

v1.3.0 Performance improvements, ISteamNetworkingMessages, and more

Compare
Choose a tag to compare
@zpostfacto zpostfacto released this 30 May 19:40
· 392 commits to master since this release
9875f39

Major changes

Performance improvements

Implemented a fine-grained locking strategy to greatly reduce lock contention, especially if API calls are made from multiple threads. (See issue #50.)

Added ISteamNetworkingMessages

This interface is primarily useful for porting existing code that expects to be able to make ad-hoc sendto/recvfrom calls to arbitrary addresses, and does not consistently use the abstraction of a "connection".

Other improvements

  • Header files are now compatible with Steamworks SDK headers. You can easily switch between using the Steamworks SDK and a standalone library for the networking interfaces in this library, even making the determination at runtime.
  • Added a mechanism to customize (most) memory allocations.
  • Numerous bugfixes related to P2P and ICE

Compatibility

Some interfaces were renamed related to custom P2P signaling. Otherwise there were no major API-breaking changes. This update is compatible with the Steamworks SDK 1.51 release.