All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] btohs,btohl, ...
@ 2005-02-09 13:07 # Björn Specht #
  2005-02-09 13:19 ` Marcel Holtmann
  0 siblings, 1 reply; 7+ messages in thread
From: # Björn Specht # @ 2005-02-09 13:07 UTC (permalink / raw)
  To: bluez-devel@lists.sourceforge.net

[-- Attachment #1: Type: text/plain, Size: 390 bytes --]

Hi all,

I implemented a client server over bluetooth and I was wondering if I need the Little Endian, Big Endien conversion functions btohs,btohl,htobs,htobl?

Do I need to convert every single byte? which is received or sent over my sock_stream socket?
If yes, should it look like this for the receiving case: btohs(buf[0]).... an so on for every byte?

Thanks in advance 
Björn

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-02-09 15:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-09 13:07 [Bluez-devel] btohs,btohl, # Björn Specht #
2005-02-09 13:19 ` Marcel Holtmann
2005-02-09 13:38   ` # Björn Specht #
2005-02-09 13:57     ` Marcel Holtmann
2005-02-09 14:00       ` # Björn Specht #
2005-02-09 15:07       ` [Bluez-devel] omtu, imtu # Björn Specht #
2005-02-09 15:18         ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.