- Connecting to invalid server (port) now generates an error.

- Removed usage 'ipAddrToA' from the code. Replaced with 'ipAddrToDottedIP'.
This commit is contained in:
miha_vitorovic
2011-01-10 15:51:35 +01:00
parent 44516e8a40
commit 6db84be16e
7 changed files with 28 additions and 14 deletions

View File

@@ -410,7 +410,8 @@ class ClientContextImpl;
{
char ipAddrStr[48];
std::cout << "ole" << std::endl;
ipAddrToA(&responseFrom->ia, ipAddrStr, sizeof(ipAddrStr));
ipAddrToDottedIP(&responseFrom->ia, ipAddrStr,
sizeof(ipAddrStr));
std::cout << "ole2" << std::endl;
ostringstream prologue;