[Haskell-cafe] Network trouble: what to do?

2008-10-15 Thread Creighton Hogg
So in my quest to create bindings to BlueZ in Haskell, I've hit a bit of a snag: sockets programming. In C, you can use the standard sockets library and just pass around addresses as arrays of 6 bytes instead of arrays of 4 bytes like you normally would. The problem I'm having is that in

Re: [Haskell-cafe] Network trouble: what to do?

2008-10-15 Thread Creighton Hogg
On Wed, Oct 15, 2008 at 12:26 PM, Bryan O'Sullivan [EMAIL PROTECTED] wrote: On Wed, Oct 15, 2008 at 6:54 AM, Creighton Hogg [EMAIL PROTECTED] wrote: Is there a way around this that I just haven't seen, or should I write a patch to Network to add an extra constructor to SockAddr and code to

Re: [Haskell-cafe] Network trouble: what to do?

2008-10-15 Thread Bryan O'Sullivan
On Wed, Oct 15, 2008 at 6:54 AM, Creighton Hogg [EMAIL PROTECTED] wrote: Is there a way around this that I just haven't seen, or should I write a patch to Network to add an extra constructor to SockAddr and code to handle it? Linux and Windows support Bluetooth sockets, but they have