try any version on the server side
[ghsmtp.git] / sa.hpp
blobedeab22d8ff1860deb91a63b7b4b253f86a0d929
1 #ifndef SA_DOT_HPP_INCLUDED
2 #define SA_DOT_HPP_INCLUDED
4 #include <arpa/inet.h>
5 #include <netinet/in.h>
7 namespace sa {
8 union sockaddrs {
9 struct sockaddr addr;
10 struct sockaddr_in addr_in;
11 struct sockaddr_in6 addr_in6;
12 struct sockaddr_storage addr_storage;
14 } // namespace sa
16 #endif // SA_DOT_HPP_INCLUDED