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

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