ConvertedSocketAddress.hpp 540 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2022-11-18
  6. * Changed: 2022-11-18
  7. *
  8. * */
  9. #ifndef LS_STD_CONVERTED_SOCKET_ADDRESS_HPP
  10. #define LS_STD_CONVERTED_SOCKET_ADDRESS_HPP
  11. #if defined(unix) || defined(__APPLE__)
  12. #include <netinet/in.h>
  13. #endif
  14. namespace ls::std::network
  15. {
  16. struct ConvertedSocketAddress
  17. {
  18. #if defined(unix) || defined(__APPLE__)
  19. ::sockaddr_in socketAddressUnix{};
  20. #endif
  21. };
  22. }
  23. #endif