00001
00002
00003
00004 #ifndef __XVR2_NET_IPV4_RESOLVER_H__
00005 #define __XVR2_NET_IPV4_RESOLVER_H__
00006 #include<sys/socket.h>
00007 #include<sys/types.h>
00008 #include<netinet/in.h>
00009 #include<netdb.h>
00010 #include<xvr2/Object.h>
00011 #include<xvr2/System.h>
00012 #include<xvr2/Net/IPv4Address.h>
00013 #include<xvr2/Net/NetworkExceptions.h>
00014
00015 namespace xvr2 {
00016 namespace Net {
00017 class IPv4Address;
00018 class IPv4Resolver:public xvr2::System {
00019 public:
00020 static IPv4Address resolve(const String &ip_or_host);
00021
00022 };
00023 };
00024 };
00025
00026 #endif