lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] udp


From: NGB
Subject: Re: [lwip-users] udp
Date: Sat, 15 Mar 2003 10:20:54 +1100
User-agent: Internet Messaging Program (IMP) 3.1

Please no

UDP is supposed to be low latency, we don't want to waste CPU time copying 
stuff into buffers.

Thanks

Nic

Quoting David Haas <address@hidden>:

> Hi all,
> 
> I am using UDP for the first time with lwip and I am running into a few 
> issues.
> 
> Numero Uno: The sockets interface for TCP copies data when you call 
> send() into the socket and the application can safely dispose of the 
> buffer afterwards. However for UDP, the sockets interface passes the 
> data through without copying it. I do believe that UDP should not 
> default to this kind of operation. After all, how do you know when you 
> can free the application buffer? Especially if your packet winds up on 
> the ARP queue.
> 
> Would anyone have any objection if I "fix" this for the sockets 
> interface to copy the data into a UDP socket when sendto() is called?
> 
> David.
> 
> 
> 
> 
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/lwip-users
> 




-------------------------------------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]