diff options
Diffstat (limited to 'cpp/src')
| -rwxr-xr-x | cpp/src/qpid/sys/windows/Socket.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/windows/Socket.cpp b/cpp/src/qpid/sys/windows/Socket.cpp index fa47308cc2..baa80f04e0 100755 --- a/cpp/src/qpid/sys/windows/Socket.cpp +++ b/cpp/src/qpid/sys/windows/Socket.cpp @@ -164,6 +164,8 @@ void Socket::connect(const std::string& host, const std::string& port) const void Socket::connect(const SocketAddress& addr) const { + peername = addr.asString(false); + const SOCKET& socket = impl->fd; const addrinfo *addrs = &(getAddrInfo(addr)); int error = 0; |
