Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
547 B
C++
28 lines
547 B
C++
#ifndef _GAMA_CLIENT_TCP_SESSION_H_
|
|
|
|
#include "Session.h"
|
|
|
|
|
|
namespace ClientNet
|
|
{
|
|
class CTCPSession : public CSession
|
|
{
|
|
public:
|
|
|
|
CTCPSession(DWORD dwSessionID, CEventHandler* lpEventHandler);
|
|
|
|
virtual ~CTCPSession();
|
|
virtual int Open(INET_Addr& addr); // Active Socket
|
|
virtual int Open(INET_Addr& addr, SOCKET hSocket); // Passive Socket
|
|
|
|
virtual int Recv();
|
|
virtual int Send(unsigned long dwMaxSendCount);
|
|
|
|
protected:
|
|
|
|
BOOL m_bClosing;
|
|
};
|
|
}
|
|
|
|
|
|
#endif |