You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2005/10/12 04:43:06 UTC
svn commit: r314755 - in /webservices/axis/trunk/c/src/transport/axis3:
HTTPChannel/HTTPChannel.hpp HTTPSSLChannel/HTTPSSLChannel.hpp
Author: nadiramra
Date: Tue Oct 11 19:43:02 2005
New Revision: 314755
URL: http://svn.apache.org/viewcvs?rev=314755&view=rev
Log:
Fix AXISCPP-847.
Modified:
webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.hpp
webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp
Modified: webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.hpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.hpp?rev=314755&r1=314754&r2=314755&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.hpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.hpp Tue Oct 11 19:43:02 2005
@@ -53,7 +53,7 @@
#include <netinet/in.h>
#include <arpa/inet.h> // inet(3) functions
-const unsigned int INVALID_SOCKET = 0;
+const int INVALID_SOCKET = -1;
const int SOCKET_ERROR = -1;
// Other OS specific stuff goes here
@@ -93,7 +93,10 @@
private:
URL m_URL; // URL
string m_LastError; // Last error
- unsigned int m_Sock; // Socket descriptor
+#ifdef WIN32
+ unsigned
+#endif
+ int m_Sock; // Socket descriptor
bool m_bUseProxy; // Use a Proxy?
std::string m_strProxyHost; // Proxy server name.
unsigned int m_uiProxyPort; // Proxy server port.
Modified: webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp?rev=314755&r1=314754&r2=314755&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp Tue Oct 11 19:43:02 2005
@@ -55,7 +55,7 @@
#include <netinet/in.h>
#include <arpa/inet.h> // inet(3) functions
-const unsigned int INVALID_SOCKET = 0;
+const int INVALID_SOCKET = -1;
const int SOCKET_ERROR = -1;
// Other OS specific stuff goes here
@@ -100,7 +100,10 @@
private:
URL m_URL; // URL
string m_LastError; // Last error
- unsigned int m_Sock; // Socket descriptor
+#ifdef WIN32
+ unsigned
+#endif
+ int m_Sock; // Socket descriptor
bool m_bUseProxy; // Use a Proxy?
string m_strProxyHost; // Proxy server name.
unsigned int m_uiProxyPort; // Proxy server port.