Bug? UDP packet transmitted via sendto() intermitently not being transmitted to network
Sun Dec 12 15:08:00 GMT 2010
On Dec 10 14:37, Estabrook, Edward wrote:
> Generally I am seeking information regarding:
> 1) Where can I download and install an older version of Cygwin (say
> 1.5 era) to test if the problem is newly introduced?
What for? If it doesn't work on 1.5 you're exactly at the same spot as
now. If it works on 1.5, we know it works on 1.5 but we still don't
know why it doesn't work on 1.7, which means, you're still exactly at
the same spot as now. So that's not really an option. The best option
is either to debug the (slim) layer in Cygwin which provides send/recv,
or at least to send an as-simple-as-possible, self-sufficient testcase,
preferredly in plain C, which allows to reproduce the problem.
> 2) What tools are available to measure potential packet loss within
> cygwin itself? (the Windows stack is not reporting dropped UDP
> packets, and the packets are not even making it into a locally running
> instance of wireshark). Is there a way to dump / access / sniff the
> inputs and outputs to the cygwin IP stack? Traffic volume is low so
> verbosity would not pose a problem.
You can add debug output to Cygwin's send and receive functions and use
> 3) Is there additional documentation regarding the cygwin IP
> translation layer?
The sources, basically here:
> I see in the release notes that various
> enhancements have been made recently, and I cannot help but worry that
> perhaps an obscure issue in this aggregation of packets for delivery
> to Windows is introducing a problem. Is it possible to shut this off
> and simply force each packet to be delivered without additional
There is no additional buffering, except for the system socket buffers.
> Unfortunately the only steps to reproduce (that I am yet aware of) is
> a 50-step sequence of SIP signaling which would be difficult to detail
> sufficiently here. I will cover some pertinent details below.
Apart from actual debugging it yourself, a testcase, as outlined above,
might be helpful. The details describe *what* happens, but unfortunately
don't even allow to guess *why* it happens.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin