Re: Problems of AF_INET domain socket regarding out-of-band data.

2018-06-21 Thread Corinna Vinschen
Hi Takashi, (just a sidenote: it would be nice if you would send your patches to the cygwin-patches mailing list) On Jun 20 22:18, Takashi Yano wrote: > Hi Corinna, > > On Wed, 13 Jun 2018 22:48:58 +0900 > Takashi Yano wrote: > > 1. recv() with MSG_OOB flag eats normal data if no OOB data > >

Re: Problems of AF_INET domain socket regarding out-of-band data.

2018-06-20 Thread Takashi Yano
Hi Corinna, On Wed, 13 Jun 2018 22:48:58 +0900 Takashi Yano wrote: > 1. recv() with MSG_OOB flag eats normal data if no OOB data > is sent yet. > > 2. Calling recv() with MSG_OOB flag is blocked if no OOB data > is sent yet. > > 3. Calling recv() without MSG_OOB flag after receiving OOB data

Problems of AF_INET domain socket regarding out-of-band data.

2018-06-13 Thread Takashi Yano
Hello, I have found a few problems of AF_INET domain socket regarding out-of-band data. 1. recv() with MSG_OOB flag eats normal data if no OOB data is sent yet. 2. Calling recv() with MSG_OOB flag is blocked if no OOB data is sent yet. 3. Calling recv() without MSG_OOB flag after receiving