On Fri, Dec 02, 2005 at 11:00:28PM -0800, Jurij Smakov wrote:
> In 
> that case the cast from sockaddr to sockaddr_in is a problem. The sockaddr 
> structure consists of a short (2 bytes) and an array of 14 chars, so it is
> allowed to be aligned (and is, in fact, aligned) on the 2-byte boundary,

Yes, probaly sockad should be changed to contain an array of longs instead
of chars, since it is supposed to be castable.... I really hate C :)

Gruss
Bernd
-- 
  (OO)     -- [EMAIL PROTECTED] --
 ( .. )    [EMAIL PROTECTED],linux.de,debian.org}  http://www.eckes.org/
  o--o   1024D/E383CD7E  [EMAIL PROTECTED]  v:+497211603874  f:+49721151516129
(O____O)  When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to