activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From # Lalit Nagpal # <lalitte...@gmail.com>
Subject status -1 when establishing socket connection
Date Tue, 12 Sep 2006 09:23:41 GMT


    // Attempt the connection to the server.
    status = ::connect( socketHandle, 
                        ( const sockaddr * )&target_addr, 
                        sizeof( target_addr ) );
              
	cout << "stat ... is " << status << endl;
    if( status < 0 ){
        close();
        throw SocketException( __FILE__, __LINE__, 
            "Socket::connect - %s", ::strerror( errno ) );
    }

This piece of code throws a socket exception when trying to run the activemq
cpp client with vs .net 2003 ... any hints would be really helpful

Thanks in advance

-- 
View this message in context: http://www.nabble.com/status--1-when-establishing-socket-connection-tf2257720.html#a6262598
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message