EOS_EConnectionClosedReason

EOS API reference page for EOS_EConnectionClosedReason

2 분 소요

This enumerated type is part of the P2P Interface.

Remarks

Reasons why a P2P connection was closed

Values

EOS_EConnectionClosedReason

Enumerated ValueMeaning
EOS_CCR_UnknownThe connection was closed for unknown reasons. This most notably happens during application shutdown.
EOS_CCR_ClosedByLocalUserThe 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_ClosedByPeerThe 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_TimedOutThe connection was at least locally accepted, but was not remotely accepted in time.
EOS_CCR_TooManyConnectionsThe connection was accepted, but the connection could not be created due to too many other existing connections
EOS_CCR_InvalidMessageThe connection was accepted, The remote user sent an invalid message
EOS_CCR_InvalidDataThe connection was accepted, but the remote user sent us invalid data
EOS_CCR_ConnectionFailedThe connection was accepted, but we failed to ever establish a connection with the remote user due to connectivity issues.
EOS_CCR_ConnectionClosedThe connection was accepted and established, but the peer silently went away.
EOS_CCR_NegotiationFailedThe 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_UnexpectedErrorThe connection was accepted, but there was an internal error occurred and the connection cannot be created or continue.