send and recieve raw datagrams

This commit is contained in:
orignal committed 2019-07-09 21:33:55 -04:00
1 parent 3f0534134d
commit a605e4bab6
3 files changed
+55 -21

No files matched your search

+7
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]);
}