bug fix with connection less protocol messages system at the client
This commit is contained in:
parent
5e82a73b17
commit
c4818c55e0
1 changed files with 171 additions and 169 deletions
|
@ -120,8 +120,10 @@ void CSocket::OnDataReceived()
|
|||
if ( bIsClient )
|
||||
{
|
||||
// client:
|
||||
// check if packet comes from the server we want to connect
|
||||
if ( !( pChannel->GetAddress() == RecHostAddr ) )
|
||||
// check if packet comes from the server we want to connect and that
|
||||
// the channel is enabled
|
||||
if ( !( pChannel->GetAddress() == RecHostAddr ) ||
|
||||
!pChannel->IsEnabled() )
|
||||
{
|
||||
// this is an unknown address, try to parse connection less
|
||||
// message
|
||||
|
|
Loading…
Reference in a new issue