Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #1701

Re: Marina, now with Berkeley sockets

From D Finnigan <dog_cow@macgui.com>
Newsgroups comp.sys.apple2.programmer
Subject Re: Marina, now with Berkeley sockets
Date 2015-06-17 21:28 +0000
Organization Mac GUI
Message-ID <dog_cow-1434576578@macgui.com> (permalink)
References <dog_cow-1434488118@macgui.com> <mlq4j8$4ds$1@dont-email.me>

Show all headers | View raw


David Schmidt wrote:
> On 6/16/2015 4:54 PM, D Finnigan wrote:
>> The June 2015 edition of Marina is here, featuring a Berkeley sockets
>> API.
> 
> Glad to see the source code.  In its current form, how much memory 
> footprint is required (understanding the send buffer is variable - so 
> let's just say 1492 for now)?
>

Code is a little over 9,000 bytes, but significant space is taken by the
DHCP, DNS, and ARP subsystems that all use dedicated buffers for send
operations. Incoming buffer should be 1514 bytes, and outgoing buffer is
1500 because the protocol headers are stored separate from the payload (see
ETH.S on disk 2). In future, I will probably have to introduce support for
multiple receive buffers in order to support simultaneous TCP and UDP
sockets.

-- 
]DF$
The Marina IP stack for Apple II--
http://marina.a2hq.com/

Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Marina, now with Berkeley sockets D Finnigan <dog_cow@macgui.com> - 2015-06-16 20:54 +0000
  Re: Marina, now with Berkeley sockets David Schmidt <schmidtd@my-deja.com> - 2015-06-16 17:32 -0400
    Re: Marina, now with Berkeley sockets D Finnigan <dog_cow@macgui.com> - 2015-06-17 21:28 +0000
    Re: Marina, now with Berkeley sockets D Finnigan <dog_cow@macgui.com> - 2015-06-23 23:26 +0000
  Re: Marina, now with Berkeley sockets D Finnigan <dog_cow@macgui.com> - 2015-06-17 21:23 +0000
    Re: Marina, now with Berkeley sockets Michael J. Mahon <mjmahon@aol.com> - 2015-06-17 17:01 -0500
      Re: Marina, now with Berkeley sockets D Finnigan <dog_cow@macgui.com> - 2015-06-18 23:18 +0000
        Re: Marina, now with Berkeley sockets Michael J. Mahon <mjmahon@aol.com> - 2015-06-18 19:39 -0500
  Re: Marina, now with Berkeley sockets Your Name <YourName@YourISP.com> - 2015-06-18 09:45 +1200

csiph-web