
what does this mean?
here is teh code not letting me connect but i dun understand why
i think these 2 are the parameters in that would make me dc
Code: Select all
if (!net->isConnected()) {
disconnect_client(cptr);
return;
}
net->getData( 1, &opcode );
if (!net->isConnected()) {
disconnect_client(cptr);
return;
}
Code: Select all
void RealmListSrv::disconnect_client( struct nlink_client *cptr )
{
RealmClient * pClient = static_cast < RealmClient * > ( cptr->pClient );
mClients.erase( pClient );
delete pClient;
Log::getSingleton( ).outString( "REALM: Socket Closed!" );
Server::disconnect_client( cptr );
}