summaryrefslogtreecommitdiff
path: root/code/posix/transport.h
blob: c35e13e5ebe3e4ae3432d90201dceb66465dc50a (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdint.h>

#define ECP_IPv4_ADDR_SIZE          4

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