From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4FCC8853.9070008@xenomai.org> Date: Mon, 04 Jun 2012 12:05:07 +0200 From: Philippe Gerum MIME-Version: 1.0 References: <8236197CA3DA864F9EF20609D9887263B7F87AF3@rrxchngmbx01.mro.roland-man.biz> <4FCC8582.9080008@xenomai.org> <4FCC87DA.5010201@xenomai.org> In-Reply-To: <4FCC87DA.5010201@xenomai.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] TCP communication problem List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix Cc: xenomai@xenomai.org On 06/04/2012 12:03 PM, Gilles Chanteperdrix wrote: > On 06/04/2012 11:53 AM, Philippe Gerum wrote: >> On 06/04/2012 11:33 AM, Frederik Bayart wrote: >>> Dietmar, thanks for hint. Indeed, I noticed that the number of bytes >>> sent != bytes to send. >>> If I wrap the send in a while lus, the problem is solved. >>> >>> Does anyone have a suggestion how to detect the interrupting signal >>> (SIG_ALL doesn't exist) >>> >> >> Use strace. >> >> It's likely SIGWINCH (aka SIGSHADOW for Xenomai), which we use internally. > > SIGWINCH handler is normally installed with SA_RESTART flag... > Normally, yes. -- Philippe.