DisconnectInfo Structure |
LiteNetLib |
Additional information about disconnection
Namespace: LiteNetLib
Assembly: LiteNetLib (in LiteNetLib.dll) Version: 1.0.0.0
Syntax
C#
public struct DisconnectInfo
The DisconnectInfo type exposes the following members.
Fields
Name | Description | |
---|---|---|
AdditionalData |
Additional data that can be accessed (only if reason is RemoteConnectionClose)
| |
Reason |
Additional info why peer disconnected
| |
SocketErrorCode |
Error code (if reason is SocketSendError or SocketReceiveError)
|
See Also