platformNetwork.h 360 B

12345678910111213141516171819202122232425
  1. #ifndef __platformNetwork__
  2. #define __platformNetwork__
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #include <stdio.h>
  7. #include <stdint.h>
  8. #include <rtthread.h>
  9. #include <sys/socket.h>
  10. #include <sys/errno.h>
  11. #include <sys/time.h>
  12. #include <netdb.h>
  13. typedef struct
  14. {
  15. int socket;
  16. } platformNetwork_t;
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20. #endif