On Wed, 2010-06-23 at 20:07 -0700, alanchb wrote:
I download the CMS source code,and modified the TcpSocket::connect function
in TcpSocket.cpp in order to tunnel http proxy.Below is the code I modified
or added:
void TcpSocket::connect(const char* host, int port, int timeout) throw (
Thank you for your reply.
But that works well in my test program.In that program I wrote a TCP/IP
client which connects remote TCP/IP server via HTTP proxy,and it can
send/receive message with remote server successfully.The method I used is
exactly the same used in ActiveMQ-CPP.
Timothy Bish
I download the CMS source code,and modified the TcpSocket::connect function
in TcpSocket.cpp in order to tunnel http proxy.Below is the code I modified
or added:
void TcpSocket::connect(const char* host, int port, int timeout) throw (
SocketException ) {
try{
if( isConnected() ) {