A helpful feature for a NosTale packet logger would be a .
// 4. Forward to destination // If sending to server, might need re-encryption depending on flow state.DestSocket.GetStream().Write(receivedData, 0, bytesRead);
To log packets, you generally have two approaches: