[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] How do I check if a packet is sent out?
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] How do I check if a packet is sent out? |
Date: |
Tue, 26 Jan 2010 12:51:36 +0000 |
On Tue, 2010-01-19 at 11:13 -0500, Chen wrote:
> Hi, all,
>
> In my project, I need to send out an UDP packet then stop the system
> interrupts for a few ms, but I need to confirm the UDP packet is sent
> out first (I don't need to confirm if it will reach the destination)
>
> I send out the UDP packet using
>
> lwip_sendto(lSocketUDP, myudpout.buffer,sizeof(myudpout), 0,
> (structsockaddr *)&sSyncDestAddrUDP,sizeof(sSyncDestAddrUDP));
>
> How can I confirm *THIS* packet is sent out?
There is no part of the API that will reliably give you that information
I'm afraid.
Kieran