You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2011/05/26 22:39:00 UTC
svn commit: r1128069 - /qpid/trunk/qpid/cpp/src/qpid/sys/windows/Socket.cpp
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