Search the Community
Showing results for tags 'ports'.
-
ClientManager.h Ezt: typedef boost::unordered_map<short, BYTE> TChannelStatusMap; Erre: typedef boost::unordered_map<int, BYTE> TChannelStatusMap; ----------------------------------------------------------------------- ClientManager.cpp Ezt: peer->Encode(&it->first, sizeof(short)); peer->Encode(&it->second, sizeof(BYTE)); Erre: peer->Encode(&it->first, sizeof(int)); peer->Encode(&it->second, sizeof(BYTE)); ----------------------------------------------------------------------- common\tables.
-
common/service.h rákeresel erre: PET_SYSTEM Beilleszted a többi közé ezt: #define ENABLE_PORT_SECURITY game fájl forrás: desc_p2p.cpp Rákeresel erre: #include "p2p.h" alá írod ezt: #include "../../common/service.h" Rákeresel erre: bool DESC_P2P::Setup(LPFDWATCH fdw, socket_t fd, const char * host, WORD wPort) Így nézzen ki: bool DESC_P2P::Setup(LPFDWATCH fdw, socket_t fd, const char * host, WORD wPort) { m_lpFdw = fdw; m_stHost = host; m_wPort = wPort; m_sock = fd; #ifdef ENABLE_PORT