diff options
| author | Adam <Adam@anope.org> | 2010-09-17 19:20:07 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-09-17 19:20:07 -0400 |
| commit | 227909e2cf0039737dc52872651837fe5f1702b5 (patch) | |
| tree | b8a7072c7d938ea66d9710a48d717b3eb76343de /include/dns.h | |
| parent | f71fb6e8133da955a58b1cca00013ce20c0b65cc (diff) | |
Rejig of some of the socket stuff. Fixed marking sockets as nonblocking on Windows. Added in a LastError function to keep having to use strerror/GetLastError everywhere.
Diffstat (limited to 'include/dns.h')
| -rw-r--r-- | include/dns.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dns.h b/include/dns.h index 51960b0f4..4f61ef909 100644 --- a/include/dns.h +++ b/include/dns.h @@ -134,7 +134,7 @@ class DNSSocket : public ClientSocket int SendTo(const unsigned char *buf, size_t len) const; int RecvFrom(char *buf, size_t size, sockaddrs &addrs) const; public: - DNSSocket(const Anope::string &nTargetHost, int nPort); + DNSSocket(const Anope::string &nTargetHost, int Port); virtual ~DNSSocket(); bool ProcessRead(); |
