0.6.0-preview.7
Pre-release
Pre-release
[0.6.0] - 2020-11-26
New features
- An error handling pass has been made and
Error.StatusCode
have been added to indicate more specific errors. Error.DisconnectReason
has been added, so when NetworkDriver.PopEvent returns aNetworkEvent.Type.Disconnect
the reader returned contains 1 byte of data indicating the reason.
Changes
- The function signature for NetworkDriver.BeginSend has changed. It now returns a
int
value indicating if the function succeeded or not and the DataStreamWriter now instead is returned as aout
parameter. - The function signature for INetworkInterface.Initialize has changed. It now requires you to return a
int
value indicating if the function succeeded or not. - The function signature for INetworkInterface.CreateInterfaceEndPoint has changed. It now requires you to return a
int
value indicating if the function succeeded or not, and NetworkInterfaceEndPoint is now returned as aout
parameter.
Fixes
- Fixed a potential crash when receiving a malformated packet.
- Fixed an issue where the DataStream could sometimes fail writing packet uints before the buffer was full.
Upgrade guide
NetworkDriver.BeginSend
now returns aint
indicating aError.StatusCode
, and theDataStreamWriter
is passed as anout
parameter.
[0.5.0] - 2020-10-01
New features
Changes
Fixes
- Fixed display of ipv6 addresses as strings