From activemq-users-return-4470-apmail-geronimo-activemq-users-archive=geronimo.apache.org@geronimo.apache.org Tue Sep 12 09:23:51 2006 Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 48785 invoked from network); 12 Sep 2006 09:23:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Sep 2006 09:23:49 -0000 Received: (qmail 52608 invoked by uid 500); 12 Sep 2006 09:23:47 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 52578 invoked by uid 500); 12 Sep 2006 09:23:47 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 52569 invoked by uid 99); 12 Sep 2006 09:23:47 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Sep 2006 02:23:47 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=lists@nabble.com; spf=pass X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received-SPF: pass (idunn.apache.osuosl.org: domain nabble.com designates 72.21.53.35 as permitted sender) Received: from ([72.21.53.35:44552] helo=talk.nabble.com) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id EC/65-00869-CAC76054 for ; Tue, 12 Sep 2006 02:23:56 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GN4UX-0000ds-3e for activemq-users@geronimo.apache.org; Tue, 12 Sep 2006 02:23:41 -0700 Message-ID: <6262598.post@talk.nabble.com> Date: Tue, 12 Sep 2006 02:23:41 -0700 (PDT) From: # Lalit Nagpal # To: activemq-users@geronimo.apache.org Subject: status -1 when establishing socket connection MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: lalittechy@gmail.com X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N // 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.