Creating a Structure to hold IP Addresses and other info send via a named pipe

Hello, I want to create a structure that I can use to send IP Addresses, Hostnames and Two Other categories to another system to be read. My initial thought is as follows:

1
2
3
4
5
6
7
8
 typedef struct _IPConfigInfo {
  BYTE msgType
  BYTE NumOfHosts
  CHAR Hostnames
  CHAR IPVersion
  BYTE IPAddresses
  BYTE LID
  BYTE GID


I would appreciate any critiques, thoughts, and suggestions as I continue to build this data structure.
Topic archived. No new replies allowed.