# sources
list(APPEND sal_sources
  sal/net/__bits/socket.hpp
  sal/net/__bits/socket.cpp
  sal/net/fwd.hpp

  sal/net/basic_socket.hpp
  sal/net/basic_datagram_socket.hpp
  sal/net/basic_stream_socket.hpp
  sal/net/basic_socket_acceptor.hpp
  sal/net/error.hpp
  sal/net/error.cpp
  sal/net/socket.hpp
  sal/net/socket_base.hpp
  sal/net/socket_options.hpp

  sal/net/async/__bits/async.hpp
  sal/net/async/__bits/async.cpp
  sal/net/async/completion_queue.hpp
  sal/net/async/io.hpp
  sal/net/async/service.hpp

  sal/net/internet.hpp
  sal/net/ip/__bits/inet.hpp
  sal/net/ip/address.hpp
  sal/net/ip/address_v4.hpp
  sal/net/ip/address_v4.cpp
  sal/net/ip/address_v6.hpp
  sal/net/ip/address_v6.cpp
  sal/net/ip/basic_endpoint.hpp
  sal/net/ip/basic_resolver.hpp
  sal/net/ip/basic_resolver_entry.hpp
  sal/net/ip/basic_resolver_results.hpp
  sal/net/ip/basic_resolver_results_iterator.hpp
  sal/net/ip/resolver.hpp
  sal/net/ip/resolver_base.hpp
  sal/net/ip/tcp.hpp
  sal/net/ip/tcp.cpp
  sal/net/ip/udp.hpp
  sal/net/ip/udp.cpp
)


# unittests
list(APPEND sal_unittests_sources
  sal/net/common.test.hpp
  sal/net/init.test.cpp
  sal/net/error.test.cpp
  sal/net/socket.test.cpp

  sal/net/async/io.test.cpp
  sal/net/async/completion_queue.test.cpp
  sal/net/async/service.test.cpp
  sal/net/async/socket.test.cpp
  sal/net/async/datagram_socket.test.cpp
  sal/net/async/stream_socket.test.cpp
  sal/net/async/socket_acceptor.test.cpp

  sal/net/ip/address.test.cpp
  sal/net/ip/address_v4.test.cpp
  sal/net/ip/address_v6.test.cpp
  sal/net/ip/datagram_socket.test.cpp
  sal/net/ip/endpoint.test.cpp
  sal/net/ip/resolver.test.cpp
  sal/net/ip/socket_acceptor.test.cpp
  sal/net/ip/stream_socket.test.cpp
)
