You Are Here:

Community: Developer Discussion Boards

#1 Old L2CAP connection 3650 - 2005-04-04, 10:48

Join Date: Apr 2005
Posts: 1
Holli2
Offline
Registered User
Hi All,
I would make L2CAP connection between my 3650 and other device. The connection works fine. I can send and receive data.
My problem is that I don't known the exact size of received paket (can be 1 byte upto 42 byte). RecvOneOrMore() is not working with L2CAP connection (Error: -5, not supported). The other receive functions (recv and read) needs a size, but I don't known the size, before I received the paket. If I use a size of 1 then I receive only the first byte of paket and the other bytes are discarded.
Is there any possibility to get the rest of received paket. How I can determine the size of received paket?

Many thanks.
Best regards
Holli2
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia