From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HRUxE-00037b-4K for qemu-devel@nongnu.org; Wed, 14 Mar 2007 10:59:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HRUxC-00037D-7V for qemu-devel@nongnu.org; Wed, 14 Mar 2007 10:59:51 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRUxC-00037A-4I for qemu-devel@nongnu.org; Wed, 14 Mar 2007 09:59:50 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HRUwI-0003oS-0Z for qemu-devel@nongnu.org; Wed, 14 Mar 2007 10:58:54 -0400 From: Paul Brook Subject: Re: [Qemu-devel] problems using sockets inside qemu code Date: Wed, 14 Mar 2007 14:58:44 +0000 References: <45F80574.8050708@uab.cat> In-Reply-To: <45F80574.8050708@uab.cat> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703141458.45488.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Marius Monton On Wednesday 14 March 2007 14:23, Marius Monton wrote: > Hi again, > > I'm using sockets inside qemu code for my work on SystemC + qemu > simulation. I've implemented a TCP client inside qemu code to connect to an > application (TCP server) outside QEMU (all SystemC stuff). > Almost all is working fine, but sometimes receiving data fails with an > "Interrupted system call" on perror (errno = EINTR). > When testing socket code with no QEMU works fine... I suggest you read the recv(1) manpage. Retry the command. Paul