Return-Path: Message-ID: <7aa80ced050306210062f2ad1e@mail.gmail.com> From: Mohan K To: bluez-users@lists.sourceforge.net, sebiroth@web.de Subject: Re: [Bluez-users] Re: Fw: Re: Can't able to send data in both direction In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII References: <004401c5207b$c13a3210$4100a8c0@benjamin> <7aa80ced05030321482f162db2@mail.gmail.com> 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: Mon, 7 Mar 2005 10:30:41 +0530 Hi Sebastian, Thanks. The send program without closing the connection for each time is working fine. But on the recv side I am unable to read the data immediately. I am using recv() function available in the bluez. After recv() fn I am using printf(). Until I close the connection it is not printing the received data. Thanks & Regards, Mohan On Fri, 04 Mar 2005 15:14:03 +0100, Sebastian Roth wrote: > Hi Mohan, > > why do you connect for each keypress? > Just connect on programm startup then `do' `send' `while' `getch' > and close the connection on programm shutdown. > This should avoid the delay! > > Best regards, > Sebastian > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Bluez-users mailing list > Bluez-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-users > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users