socket_async_os.h 500 B

1234567891011121314151617
  1. // Copyright (c) Microsoft. All rights reserved.
  2. // Licensed under the MIT license. See LICENSE file in the project root for full license information.
  3. //This file pulls in OS-specific header files to allow compilation of socket_async.c under
  4. // most OS's except for Windows.
  5. // For Linux systems
  6. #include <sys/types.h>
  7. #include <sys/socket.h>
  8. #include <sys/select.h>
  9. #include <netinet/in.h>
  10. #include <netinet/tcp.h>
  11. #include <sys/errno.h>
  12. #include <fcntl.h>
  13. #include <unistd.h>
  14. #include <netdb.h>