diff options
Diffstat (limited to 'ecp/platform/posix/transport.h')
-rw-r--r-- | ecp/platform/posix/transport.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ecp/platform/posix/transport.h b/ecp/platform/posix/transport.h new file mode 100644 index 0000000..155bd9c --- /dev/null +++ b/ecp/platform/posix/transport.h @@ -0,0 +1,7 @@ +#define ECP_IPv4_ADDR_SIZE 4 + +typedef int ECPNetSock; +typedef struct ECPNetAddr { + unsigned char host[ECP_IPv4_ADDR_SIZE]; + uint16_t port; +} ECPNetAddr; |