summaryrefslogtreecommitdiff
path: root/ecp/src/platform/posix/transport.h
blob: 736dbc12bc971ee85ff4ca7f60343fd06b642453 (plain)
1
2
3
4
5
6
7
8
9
#define ECP_IPv4_ADDR_SIZE          4

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

typedef struct ECPNetAddr ecp_tr_addr_t;
typedef int ecp_tr_sock_t;