first, we declare an enum to tell the message types apart:
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.
// first, we declare an enum to tell the message types apart: enum MessageType { TCPEXMSG_PING = 1; // outgoing message TCPEXMSG_PONG = 2; // returning message }