This enumerated type is part of the P2P Interface.
Remarks
Reasons why a P2P connection was closed
Values
EOS_EConnectionClosedReason
Enumerated Value | Meaning |
---|---|
EOS_CCR_Unknown | The connection was closed for unknown reasons. This most notably happens during application shutdown. |
EOS_CCR_ClosedByLocalUser | The connection was at least locally accepted, but was closed by the local user via a call to EOS_P2P_CloseConnection / EOS_P2P_CloseConnections. |
EOS_CCR_ClosedByPeer | The connection was at least locally accepted, but was gracefully closed by the remote user via a call to EOS_P2P_CloseConnection / EOS_P2P_CloseConnections. |
EOS_CCR_TimedOut | The connection was at least locally accepted, but was not remotely accepted in time. |
EOS_CCR_TooManyConnections | The connection was accepted, but the connection could not be created due to too many other existing connections |
EOS_CCR_InvalidMessage | The connection was accepted, The remote user sent an invalid message |
EOS_CCR_InvalidData | The connection was accepted, but the remote user sent us invalid data |
EOS_CCR_ConnectionFailed | The connection was accepted, but we failed to ever establish a connection with the remote user due to connectivity issues. |
EOS_CCR_ConnectionClosed | The connection was accepted and established, but the peer silently went away. |
EOS_CCR_NegotiationFailed | The connection was locally accepted, but we failed to negotiate a connection with the remote user. This most commonly occurs if the local user goes offline or is logged-out during the connection process. |
EOS_CCR_UnexpectedError | The connection was accepted, but there was an internal error occurred and the connection cannot be created or continue. |