|
From: | Christian Steffen |
Subject: | Re: [lwip-users] Flags in socket interface |
Date: | Thu, 14 Oct 2010 11:25:57 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 |
Am 14.10.2010 11:05, schrieb Kieran Mansley:
On Wed, 2010-10-13 at 11:11 +0200, Christian Steffen wrote:I am a little bit confused about the flags at the socket interface. The sockets.h says that only MSG_WAITALL and MSG_OOB not implemented. So I would use MSG_MORE. But when I look into the socket.c I couldn't see any implementation of a flag. Is it so?"Since Linux 2.6, this flag is also supported for UDP sockets, and informs the kernel to package all of the data sent in calls with this flag set into a single datagram which is only transmitted when a call is performed that does not specify this flag." We don't support that at the moment I'm afraid. The easiest way to get that behaviour is to batch things together in your app and then make a single send call.
The first is what I want, and now I know the second is to do to reach this. Thanks for your answer. Mit freundlichen Grüßen / Best regards Christian Steffen -- +++ Hensel Elektronik GmbH +++ Hinrichsdorfer Straße 7c +++ 18146 Rostock +++ +++ phone +49 381 659 13 18 +++ fax +49 381 659 13 28 +++ email address@hidden +++ web www.hensel-elektronik.de +++ +++ Hensel Elektronik GmbH +++ Gesellschaft mit beschränkter Haftung +++ Sitz der Gesellschaft: Rostock +++ HRB 547 Amtsgericht Rostock +++ Geschäftsführer: Hans-Joachim Hensel
[Prev in Thread] | Current Thread | [Next in Thread] |