Ethereal-dev: Re: [Ethereal-dev] sctp changes not portable on win32, getting lot's of errors!!

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Michael Tuexen <Michael.Tuexen@xxxxxxxxxxxxxxxxx>
Date: Tue, 7 Sep 2004 11:42:55 +0200
Hmm,

I'm sorry for any inconvenience, but I did not compiled it on Windows...
As far as I know struct sockaddr, struct sockaddr_in and struct sockaddr_storage are supported on Windows, because they support the SocketAPI (possibly by
including a winsock.h or something like that). Am I wrong?

I have taken these files out the Makefile.common, so this stuff should not
be compiled anymore.

Best regards
Michael

On Sep 7, 2004, at 11:22 Uhr, Guy Harris wrote:

Ulf Lamping wrote:

sctp_stat.c
sctp_stat.h(82) : error C2079: 'src' verwendet undefiniertes struct 'sockaddr_storage' sctp_stat.h(83) : error C2079: 'dst' verwendet undefiniertes struct 'sockaddr_storage'

It would probably be A Very Good Idea not to use OS data structures such as "sockaddr_in", "sockaddr_in6", "sockaddr_storage", etc. for addresses, given that not all OSes have all those data structures. Perhaps we should just use Ethereal's "address" structures instead.

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev