//
// Asura_TCPSocket.h
//
// Created by KOR - 10 February 2009
//
// Copyright (C) 2009 Rebellion, All Rights Reserved.
//

#ifdef ASURA_USE_PRAGMA_ONCE
#pragma once
#endif

#ifndef __ASURA_TCPSOCKET_TYPES_H__
#define __ASURA_TCPSOCKET_TYPES_H__

enum ASURA_TCP_DISCONNECT_REASON
{
	ASURA_TCP_DISCONNECT_NOT_DISCONNECTED,
	ASURA_TCP_DISCONNECT_UNKNOWN,
	ASURA_TCP_DISCONNECT_BUFFER_FULL,
	ASURA_TCP_DISCONNECT_SERVER_FULL,
	ASURA_TCP_DISCONNECT_SHUTDOWN,
	ASURA_TCP_DISCONNECT_SOCKET_ERROR,
	ASURA_TCP_DISCONNECT_CONNECTION_REJECTED,
	ASURA_TCP_DISCONNECT_CONNECTION_TIMEOUT,
	ASURA_TCP_DISCONNECT_MESSAGE_TOO_BIG,
	ASURA_TCP_DISCONNECT_MESSAGE_CHECKSUM_ERROR,
};

#endif//__ASURA_TCPSOCKET_TYPES_H__