<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Fri, 24 Jul 2009 00:06:26 +0100
From   : jgh@... (Jonathan Graham Harston)
Subject: RFC: BBC Ethernet API

Phil Blundell wrote:
> > It may well be worth the time now to increase the size of the address
> > space from/to if we are not going to limit the API to ipv4.
> 
> The way this works in BSD sockets (and in RISC OS I think) is that the
> value at X%!20 is a pointer to a block of memory containing the actual
> address (and the value at X%!24 is the length of that block).  So,
 
Yes, it should have been:
 
> > >          X%!4  = socket
> > >          X%!8  =>data
> > >          X%!12 = data length
> > >          X%!16 = flags
> > >          X%!20 =>IP address
> > >          X%!24 = IP address length
 
-- 
J.G.Harston - jgh@...                - mdfs.net/User/JGH
Liberal Democrat Parliamentary Candidate for Sheffield Brightside
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>