SocketAddress.hpp 577 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2022-11-16
  6. * Changed: 2022-11-16
  7. *
  8. * */
  9. #ifndef LS_STD_SOCKET_ADDRESS_HPP
  10. #define LS_STD_SOCKET_ADDRESS_HPP
  11. #include <ls_std/network/core/ProtocolType.hpp>
  12. #include <ls_std/core/types/SocketTypes.hpp>
  13. namespace ls::std::network
  14. {
  15. struct SocketAddress
  16. {
  17. ls::std::network::ProtocolType protocolType{};
  18. ls::std::core::type::ip_address ipAddress{};
  19. ls::std::core::type::port port{};
  20. };
  21. }
  22. #endif