[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [task #7017] Implement DNS client
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [task #7017] Implement DNS client |
Date: |
Mon, 19 Nov 2007 18:51:50 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 |
Follow-up Comment #49, task #7017 (project lwip):
I'm not familiar with the layout/structs dns uses to address the buffer the
pbuf points to, but I guess coping with a split response will be very
difficult, so we have to copy the response somewhere.
As to the question where to copy it: the stack is a bad idea in my opinion,
as you have to allocate the memory for every thread that will eventually use
dns (create those threads with a bigger stack). Also, 512 bytes is quite big
for a stack on some systems...
A global variable also won't work as multiple threads would access it at the
same time, so what's left is mem_malloc, I suppose...
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?7017>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [lwip-devel] [task #7017] Implement DNS client, (continued)
- [lwip-devel] [task #7017] Implement DNS client, Simon Goldschmidt, 2007/11/18
- [lwip-devel] [task #7017] Implement DNS client, Frédéric Bernon, 2007/11/18
- [lwip-devel] [task #7017] Implement DNS client, Frédéric Bernon, 2007/11/18
- [lwip-devel] [task #7017] Implement DNS client, Simon Goldschmidt, 2007/11/18
- [lwip-devel] [task #7017] Implement DNS client, Simon Goldschmidt, 2007/11/18
- [lwip-devel] [task #7017] Implement DNS client, Frédéric Bernon, 2007/11/18
- [lwip-devel] [task #7017] Implement DNS client, Frédéric Bernon, 2007/11/18
- [lwip-devel] [task #7017] Implement DNS client, Frédéric Bernon, 2007/11/18
- [lwip-devel] [task #7017] Implement DNS client, Jim Pettinato, 2007/11/19
- [lwip-devel] [task #7017] Implement DNS client, Frédéric Bernon, 2007/11/19
- [lwip-devel] [task #7017] Implement DNS client,
Simon Goldschmidt <=
- [lwip-devel] [task #7017] Implement DNS client, Frédéric Bernon, 2007/11/19
- [lwip-devel] [task #7017] Implement DNS client, Simon Goldschmidt, 2007/11/19
- [lwip-devel] [task #7017] Implement DNS client, Simon Goldschmidt, 2007/11/19
- [lwip-devel] [task #7017] Implement DNS client, Jim Pettinato, 2007/11/19
- [lwip-devel] [task #7017] Implement DNS client, Frédéric Bernon, 2007/11/19
- [lwip-devel] [task #7017] Implement DNS client, Simon Goldschmidt, 2007/11/19
- [lwip-devel] [task #7017] Implement DNS client, Frédéric Bernon, 2007/11/19
- [lwip-devel] [task #7017] Implement DNS client, Jim Pettinato, 2007/11/19
- [lwip-devel] [task #7017] Implement DNS client, Simon Goldschmidt, 2007/11/19
- [lwip-devel] [task #7017] Implement DNS client, Frédéric Bernon, 2007/11/19