© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
❔ labelling data types in packet headers - C#
C
C#
•
4y ago
•
2 replies
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
.
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
62,470
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Data types in C#
C
C# / help
15mo ago
❔ Including Filter in Data grid headers
C
C# / help
3y ago
✅ System.Data.SQLite Data Types
C
C# / help
3y ago
❔ Hierarchical data types and inheritance
C
C# / help
3y ago