GT2CloseReason
Reason the connection was closed.
- typedef enum
- {
- GT2LocalClose,
- GT2RemoteClose,
- GT2CommunicationError,
- GT2SocketError,
- GT2NotEnoughMemory
- } GT2CloseReason;
Constants
- GT2LocalClose
- The connection was closed with gt2CloseConnection.
- GT2RemoteClose
- The connection was closed remotely.
- GT2CommunicationError
- An invalid message was received (it was either unexpected or wrongly formatted).
- GT2SocketError
- An error with the socket forced the connection to close.
- GT2NotEnoughMemory
- There wasn't enough memory to store an incoming or outgoing message.
Section Reference: Gamespy Transport SDK