DNSClient.h
资源名称:FindMail.zip [点击查看]
上传用户:feituo2008
上传日期:2013-02-02
资源大小:493k
文件大小:0k
源码类别:
Email客户端
开发平台:
Visual C++
- #pragma once
- class CDNSClient
- {
- public:
- CDNSClient(void);
- ~CDNSClient(void);
- int GetMxServers(char * domain_name);
- int GetDNS(void);
- int m_mx_server_count;
- char **m_mx_servers;
- char m_dns_ip[20];
- int FreeMxServers(void);
- int AddMxServer(char * server_name);
- int SkipString(char * buf, int pos, char *domain_name);
- // dns servers count
- int m_dns_count;
- char **m_dns_servers;
- int FreeDnsServers(void);
- int AddDnsServer(char *dns_server);
- char m_errmsg[256];
- };