SocketParameter.hpp 672 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2022-11-16
  6. * Changed: 2022-12-12
  7. *
  8. * */
  9. #ifndef LS_STD_SOCKET_PARAMETER_HPP
  10. #define LS_STD_SOCKET_PARAMETER_HPP
  11. #include <ls_std/network/core/ProtocolFamilyType.hpp>
  12. #include "SocketAddress.hpp"
  13. #include <memory>
  14. namespace ls::std::network
  15. {
  16. struct SocketParameter
  17. {
  18. ::std::shared_ptr<ls::std::core::interface_type::IPosixSocket> posixSocket{};
  19. ls::std::network::ProtocolFamilyType protocolFamilyType{};
  20. ls::std::network::SocketAddress socketAddress{};
  21. int queueSize{};
  22. };
  23. }
  24. #endif