[Top][All Lists]
[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
>
-------------------------------------------------
- [lwip-users] udp, David Haas, 2003/03/14
- Re: [lwip-users] udp,
NGB <=
- Re: [lwip-users] udp, Leon Woestenberg, 2003/03/16
- Re: [lwip-users] udp, David Haas, 2003/03/16
- Re: [lwip-users] udp, Marc Boucher, 2003/03/16
- Re: [lwip-users] udp, Leon Woestenberg, 2003/03/16
- Message not available
- Re: [lwip-users] udp (RFC!), Leon Woestenberg, 2003/03/17
- Re: [lwip-users] udp (RFC!), David Haas, 2003/03/17
- Re: [lwip-users] udp (RFC!), Leon Woestenberg, 2003/03/17
- Re: [lwip-users] udp (RFC!), Kieran Mansley, 2003/03/18
- Re: [lwip-users] udp (RFC!), Kieran Mansley, 2003/03/18