Sean Boudreau(deleted)
09/10/2008 10:47 AM
post13156
|
> > 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.
-seanb
|
|
|