send and recieve raw datagrams

This commit is contained in:
orignal 2019-07-09 21:33:55 -04:00
parent 3f0534134d
commit a605e4bab6
3 changed files with 55 additions and 21 deletions

View file

@ -977,6 +977,13 @@ namespace client
else
LogPrint (eLogError, "Destination: Missing datagram destination");
break;
case PROTOCOL_TYPE_RAW:
// raw datagram
if (m_DatagramDestination)
m_DatagramDestination->HandleDataMessagePayload (fromPort, toPort, buf, length, true);
else
LogPrint (eLogError, "Destination: Missing raw datagram destination");
break;
default:
LogPrint (eLogError, "Destination: Data: unexpected protocol ", buf[9]);
}