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 )
|
if ( bIsClient )
|
||||||
{
|
{
|
||||||
// client:
|
// client:
|
||||||
// check if packet comes from the server we want to connect
|
// check if packet comes from the server we want to connect and that
|
||||||
if ( !( pChannel->GetAddress() == RecHostAddr ) )
|
// the channel is enabled
|
||||||
|
if ( !( pChannel->GetAddress() == RecHostAddr ) ||
|
||||||
|
!pChannel->IsEnabled() )
|
||||||
{
|
{
|
||||||
// this is an unknown address, try to parse connection less
|
// this is an unknown address, try to parse connection less
|
||||||
// message
|
// message
|
||||||
|
|
Loading…
Reference in a new issue