This repository has been archived on 2022-06-27. You can view files and clone it, but cannot push or open issues or pull requests.
Xash3DArchive/common/netadr.h

22 lines
473 B
C

//=======================================================================
// Copyright XashXT Group 2010 Š
// netadr.h - net address local struct
//=======================================================================
#ifndef NETADR_H
#define NETADR_H
typedef enum
{
NA_LOOPBACK,
NA_BROADCAST,
NA_IP
} netadrtype_t;
typedef struct netadr_s
{
netadrtype_t type;
unsigned char ip[4];
unsigned short port;
} netadr_t;
#endif//NETADR_H