LoginGate

所属分类:网络截获/分析
开发工具:Visual C++
文件大小:45KB
下载次数:68
上传日期:2008-05-19 17:30:31
上 传 者mhp2g
说明:  传奇2服务器端的真正源码,该源码是登陆网关服务器的,使用完成端口模型,用于处理客户端和登陆服务器的消息传递
(Legend 2 server-side the real source, the source is the landing of the gateway server, use the completion port model for dealing with client and server messaging landing)

文件列表:
LoginGate.dsw (541, 2002-04-06)
LoginGate.h (1119, 2008-04-08)
LoginGate.ncb (58368, 2008-05-19)
LoginGate.opt (75776, 2008-05-19)
LoginGate.plg (3607, 2008-05-19)
LoginGate.rc (4861, 2008-04-06)
MainWndProc.cpp (7190, 2008-04-06)
RESOURCE.H (1574, 2002-04-06)
ServerSockMsg.cpp (5493, 2008-04-08)
StdAfx.cpp (296, 2002-04-06)
StdAfx.h (1956, 2002-04-06)
ThreadFuncForComm.cpp (1206, 2008-04-03)
ThreadFuncForMsg.cpp (3376, 2008-04-06)
Res\CONNECT.ICO (766, 2002-04-06)
Res\ICON1.ICO (766, 2002-04-06)
Res\MIR2.ICO (766, 2002-04-06)
Res\TOOLBAR.BMP (658, 2002-04-06)
ClientSockMsg.cpp (2519, 2008-04-08)
ConfigDlgFunc.cpp (2675, 2002-04-06)
IOCPFunc.cpp (1284, 2002-04-06)
IOCPFunc.h (137, 2002-04-06)
LoginGate.aps (21232, 2008-04-22)
LoginGate.cpp (8023, 2008-04-02)
LoginGate.dsp (5681, 2008-04-22)
Res (0, 2008-04-09)

=============================================================================== LoginGate All written by Euy-heon, Jeong. Copyright(C) 2001 Wemade Entertainment Co., LTD. All rights Reserved. =============================================================================== Last Update : 2001/10/12 Last Update Author : Euy-heon, Jeong. 1. Using common module file name. - RegistryHandler.cpp - ServerSockHandler.cpp 2. Global variables. - deque g_ReceiveDeq; <-- ClientSockMsg.cpp - HANDLE g_hThreadForComm; <-- ClientSockMsg.cpp - HINSTANCE g_hInst; <-- LoginGate.cpp - HWND g_hMainWnd; <-- LoginGate.cpp - HWND g_hLogMsgWnd; <-- LoginGate.cpp - HWND g_hToolBar; <-- LoginGate.cpp - static WSADATA g_wsd; <-- LoginGate.cpp - TBBUTTON tbButtons[]; <-- LoginGate.cpp - SOCKET g_ssock; <-- MainWndProc.cpp - SOCKADDR_IN g_saddr; <-- MainWndProc.cpp - SOCKET g_csock; <-- MainWndProc.cpp - SOCKADDR_IN g_caddr; <-- MainWndProc.cpp - map > g_TUserInfoMap; <-- ServerSockMsg.cpp - CRITICAL_SECTION g_cs; <-- ThreadFuncForMsg.cpp 3. File and function description. * StdAfx.cpp * ClientSockMsg.cpp - BOOL InitServerThreadForComm() - BOOL InitServerThreadForMsg() - LPARAM OnClientSockMsg(WPARAM wParam, LPARAM lParam) * ConfigDlgFunc.cpp - BOOL CALLBACK ConfigDlgFunc(HWND hWndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) * LoginGate.cpp - int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) - BOOL InitApplication(HANDLE hInstance) - BOOL InitInstance(HANDLE hInstance, int nCmdShow) - int AddNewLogMsg() - void InsertLogMsg(UINT nID) - void InsertLogMsg(LPTSTR lpszMsg) * LoginGate.rc * MainWndProc.cpp - void OnCommand(WPARAM wParam, LPARAM lParam) - LPARAM APIENTRY MainWndProc(HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam) * ServerSockMsg.cpp - LPARAM OnServerSockMsg(WPARAM wParam, LPARAM lParam) * ThreadFuncForComm.cpp - DWORD WINAPI ThreadFuncForComm(LPVOID lpParameter) * ThreadFuncForMsg.cpp - DWORD WINAPI ThreadFuncForMsg(LPVOID lpParameter) 4. History - 2001/8/31 - Completed Alpha Version (V0.9) and written this document. - 2001/09/03 - Modified 'CUserInfo' structure : array -> map collection (Key = Socket, Value = CUserInfo) - 2001/09/25 - Changed packet on between gate server to login server. (string -> TGateToSvrHeader)

近期下载者

相关文件


收藏者