Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 54224 invoked from network); 2 Jun 2010 18:07:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Jun 2010 18:07:12 -0000 Received: (qmail 7086 invoked by uid 500); 2 Jun 2010 18:07:12 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 7060 invoked by uid 500); 2 Jun 2010 18:07:12 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 7052 invoked by uid 99); 2 Jun 2010 18:07:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 18:07:12 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tabish121@gmail.com designates 74.125.82.171 as permitted sender) Received: from [74.125.82.171] (HELO mail-wy0-f171.google.com) (74.125.82.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 18:07:06 +0000 Received: by wyb40 with SMTP id 40so10425611wyb.2 for ; Wed, 02 Jun 2010 11:06:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=BDodMCZAPpXJ6NPN5W7VFwAdRR4J3ukHeBufVueg3lE=; b=q/Xx6NRNfD0f/VkRq1Ry+k5YiS5P2YE9qXB39F/yweLcj9HMwG6RWtj6HhXhMI5VMB RZEqsvhzTzc97IE2mnOa8WGj/ZwSfIf1VYoK8KNF8O9XrLmGBqgvkomBQvIf3cvkp5N0 Xtb1Se27TlvPugZMHZrOXzC3bTsXWPwvf5Kl4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=hxCSgCTLe6KwXGxEBpTawyyLlESCtxD56wV5SjDCZpmchFc0E2klr/AFXRdjkqwJDy OdJLdyXIW/XigQ+Wx6VDxCCv1jqVoxcNrthafGTG1tNZNQdaWJV7Z4v3XaPsRog5Rx5w YVK7gUa+vW3RWF+wlUKiVKjKF9oCZ+v8Zv5HA= Received: by 10.227.128.213 with SMTP id l21mr7881525wbs.133.1275502005326; Wed, 02 Jun 2010 11:06:45 -0700 (PDT) Received: from [192.168.2.150] (c-76-21-195-19.hsd1.va.comcast.net [76.21.195.19]) by mx.google.com with ESMTPS id k13sm3565509wed.23.2010.06.02.11.06.44 (version=SSLv3 cipher=RC4-MD5); Wed, 02 Jun 2010 11:06:44 -0700 (PDT) Subject: Re: ActiveMQ-CPP: access to raw socket? From: Timothy Bish To: users@activemq.apache.org In-Reply-To: <28757994.post@talk.nabble.com> References: <28757994.post@talk.nabble.com> Content-Type: text/plain; charset="UTF-8" Date: Wed, 02 Jun 2010 14:06:42 -0400 Message-ID: <1275502002.2549.1.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Wed, 2010-06-02 at 11:03 -0700, CorruptedBuffer wrote: > Using ActiveMQ-CPP, is it possible to retrieve the fd for a connection, so > that you can perform a "select" on it in the subscriber? I saw reference to > being able to do this in an old CMS doc I found, but can't find anything in > the current API doc. > Why would you want to do such a thing? I don't think there's a way to get at the Socket's descriptor, at least not without some pretty nasty casting and such. Regards -- Tim Bish Open Source Integration: http://fusesource.com ActiveMQ in Action: http://www.manning.com/snyder/ Follow me on Twitter: http://twitter.com/tabish121 My Blog: http://timbish.blogspot.com/