qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject svn commit: r1128069 - /qpid/trunk/qpid/cpp/src/qpid/sys/windows/Socket.cpp
Date Thu, 26 May 2011 20:39:00 GMT
Author: astitcher
Date: Thu May 26 20:38:59 2011
New Revision: 1128069

URL: http://svn.apache.org/viewvc?rev=1128069&view=rev
Log:
NO-JIRA: Windows: set up name to connect to before connecting (as unix code)

Modified:
    qpid/trunk/qpid/cpp/src/qpid/sys/windows/Socket.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/sys/windows/Socket.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/sys/windows/Socket.cpp?rev=1128069&r1=1128068&r2=1128069&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/sys/windows/Socket.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/sys/windows/Socket.cpp Thu May 26 20:38:59 2011
@@ -164,6 +164,8 @@ void Socket::connect(const std::string& 
 void
 Socket::connect(const SocketAddress& addr) const
 {
+    peername = addr.asString(false);
+
     const SOCKET& socket = impl->fd;
     const addrinfo *addrs = &(getAddrInfo(addr));
     int error = 0;



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message