Return-Path: Message-ID: Date: Wed, 11 Oct 2006 14:15:54 +0200 From: "Andrea Carlevato" To: "BlueZ development" In-Reply-To: MIME-Version: 1.0 References: Subject: Re: [Bluez-devel] How extract client address on server ?? Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0322344338==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============0322344338== Content-Type: multipart/alternative; boundary="----=_Part_3626_20787963.1160568954561" ------=_Part_3626_20787963.1160568954561 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sorry Peter but using openobex libs i ve no socket there, only an handle...How can i use getpeername() if i ve no socket to pass it ??? andrea On 10/11/06, Peter Wippich wrote: > > > Hi Andrea, > > usualy you use getpeername() to her the remote address of a socket. > > Ciao, > > Peter > > On Wed, 11 Oct 2006, Andrea Carlevato wrote: > > > Hello, > > i ve a very simple question. I got a simple obex server code that runs > > fine.I ve taken the obexserver sample souce code as a tamplate. Question > is: > > how/where can i get, on my server, the bt address of the client ?? > > > > thanks a lot > > > > Andrea > > > > > > > | Peter Wippich Voice: +49 30 46776411 | > | G&W Instruments GmbH fax: +49 30 46776419 | > | Gustav-Meyer-Allee 25, Geb. 12 Email: pewi@gw-instruments.de | > | D-13355 Berlin / Germany | > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Bluez-devel mailing list > Bluez-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-devel > ------=_Part_3626_20787963.1160568954561 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Sorry Peter but using openobex libs i ve no socket there, only an handle...How can i use getpeername()  if i ve no socket to pass it ???


andrea


On 10/11/06, Peter Wippich <pewi@gw-instruments.de> wrote:

Hi Andrea,

usualy you use  getpeername() to her the remote address of a socket.

Ciao,

Peter

On Wed, 11 Oct 2006, Andrea Carlevato wrote:

> Hello,
> i ve a very simple question. I got a simple obex server code that runs
> fine.I ve taken the obexserver sample souce code as a tamplate. Question is:
> how/where can i get, on my server, the bt address of the client ??
>
> thanks a lot
>
> Andrea
>
>


|       Peter Wippich                   Voice: +49 30 46776411          |
|       G&W Instruments GmbH            fax:   +49 30 46776419          |
|       Gustav-Meyer-Allee 25, Geb. 12  Email: pewi@gw-instruments.de   |
|       D-13355 Berlin  / Germany                                       |


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

------=_Part_3626_20787963.1160568954561-- --===============0322344338== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 --===============0322344338== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============0322344338==--