diff options
Diffstat (limited to 'code/ecp/fe310/transport.h')
-rw-r--r-- | code/ecp/fe310/transport.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/code/ecp/fe310/transport.h b/code/ecp/fe310/transport.h index c35e13e..0fcf43b 100644 --- a/code/ecp/fe310/transport.h +++ b/code/ecp/fe310/transport.h @@ -1,10 +1,5 @@ -#include <stdint.h> - -#define ECP_IPv4_ADDR_SIZE 4 +#include <eos/sock.h> +typedef EOSNetAddr ECPNetAddr; typedef int ECPNetSock; -typedef struct ECPNetAddr { - unsigned char host[ECP_IPv4_ADDR_SIZE]; - uint16_t port; -} ECPNetAddr; |