Return-Path: Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="_db179157-60cf-42f7-8088-d3661d02a44c_" From: "Verber Seti" To: Subject: RE: Re: [Bluez-users] sendto give invalid argument Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri, 13 Jan 2006 19:23:21 -0500 --_db179157-60cf-42f7-8088-d3661d02a44c_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks for the help Paul, =A0 Unfortunately, for reasons outside the scope of this email I am restricted = to using=20 SOCK_DGRAM only for this program instead of=A0SOCK_SEQPACKET or any other v= alues. =A0 Thanks again,=20 verber > From: shackan@gmail.com> To: bluez-users@lists.sourceforge.net> Subject: = Re: [Bluez-users] sendto give invalid argument> Date: Sat, 14 Jan 2006 00:3= 2:07 +0100> > I didn't look very carefully at your code, but the first thin= g I> noticed is how you create the socket, I wrote a C++ wrapper over bluez= > a while ago and it has a class for L2Cap connections, the constructor> go= es this way:> > L2CapSocket::L2CapSocket()> : Socket( PF_BLUETOOTH, SOCK_SE= QPACKET, BTPROTO_L2CAP )> {}> > and it worked great for me, so maybe you sh= ould pass different> parameters to the socket(...); call.> > regards,> Paul= > > > -------------------------------------------------------> This SF.net = email is sponsored by: Splunk Inc. Do you grep through log files> for probl= ems? Stop! Download the new AJAX search engine that makes> searching your l= og files as easy as surfing the web. DOWNLOAD SPLUNK!> http://ads.osdn.com/= ?ad_idv37&alloc_id=16865&op=3Dick> ________________________________________= _______> Bluez-users mailing list> Bluez-users@lists.sourceforge.net> https= ://lists.sourceforge.net/lists/listinfo/bluez-users _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/= --_db179157-60cf-42f7-8088-d3661d02a44c_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =0A= =0A= =0A= =0A=

Thanks for the help Paul,

 

Unfortunately, for reasons outside the scope of this = email I am restricted to using

SOCK_DGRAM only for this program instead of&nb= sp;SOCK_SEQPACKET or any other v= alues.

 

Thanks again,

verber


> From: shackan@gmail.com
> To: bluez-users@lists.sourceforge.n= et
> Subject: Re: [Bluez-users] sendto give invalid argument
> = Date: Sat, 14 Jan 2006 00:32:07 +0100
>
> I didn't look very c= arefully at your code, but the first thing I
> noticed is how you cre= ate the socket, I wrote a C++ wrapper over bluez
> a while ago and it= has a class for L2Cap connections, the constructor
> goes this way:<= BR>>
> L2CapSocket::L2CapSocket()
> : Socket( PF_BLUETOOTH,= SOCK_SEQPACKET, BTPROTO_L2CAP )
> {}
>=
> and it worked great for me, so maybe you should pass different> parameters to the socket(...); call.
>
> regards,
>= ; Paul
>
>
> ------------------------------------------= -------------
> This SF.net email is sponsored by: Splunk Inc. Do you= grep through log files
> for problems? Stop! Download the new AJAX s= earch engine that makes
> searching your log files as easy as surfing= the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_= id=16865&op=3Dick
> _____________________________________________= __
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.n= et
> https://lists.sourceforge.net/lists/listinfo/bluez-users

=

Express yourself instantly with MSN Messenger! MSN Messe= nger=0A= = --_db179157-60cf-42f7-8088-d3661d02a44c_-- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users