09/10/2008 1:52 PM
post13185
|
> > > On Fri, Sep 05, 2008 at 08:57:35AM -0400, Mario Charest wrote:
>
> > No but the protocol requires a sockaddr_in like structure to be send over
> the
> > wire and it must be big endian. Maybe the protocol comes from a big endian
>
>
> If that's the case the protocol should define a
> private struct, not use sockaddr_in. I'd assumed
> you were talking about a sockaddr_in being passed
> to bind(), connect() etc in which case I bet the htons()
> would break on little endian linux.
The make of that driver agreed their code is broken and will use their own private flavor of sockaddr_in.
Thanks!
>
> -seanb
>
|
|
|