C
C#2y ago
Boggo

❔ labelling data types in packet headers

So im sending a packet over a network stream, wanting to add the packet type to the header, but how do i do this. Do i add it as a string then use a switch statement on the server side to determine what to cast it to? This seems inefficient.
2 Replies
Boggo
BoggoOP2y ago
eg the packet contains a List, i want to tell the receiving server that its a list of type string
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server