summaryrefslogtreecommitdiff
path: root/code/ecp/posix/transport.h
blob: 6d6d219664287b3666caca7d64eab22d0540222a (plain)
1
2
3
4
5
6
7
8
#define ECP_IPv4_ADDR_SIZE          4

typedef int ECPNetSock;
typedef struct ECPNetAddr {
    unsigned char host[ECP_IPv4_ADDR_SIZE];
    uint16_t port;
} ECPNetAddr;