* [Qemu-devel] problems using sockets inside qemu code
@ 2007-03-14 14:23 Marius Monton
2007-03-14 14:58 ` Paul Brook
0 siblings, 1 reply; 2+ messages in thread
From: Marius Monton @ 2007-03-14 14:23 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1.1: Type: text/plain, Size: 851 bytes --]
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...
Any idea? I don't knot what to do
Thanks
--
Màrius Montón i Macián marius.monton@uab.cat
<mailto:marius.monton@uab.cat> http://cephis.uab.es
<http://www.mariusmonton.name>
Hardware Engineer
CEPHIS
Centre de Prototips i Solucions Hardware-Software
Dep. Microelectrònica i Sistemes Electrònics
ETSE - Universitat Autònoma de Barcelona (UAB) Phone: +34 935 813 534
Fax: +34 935 813 033
QC-2090D. ETSE. Campus UAB.
080193 Bellaterra
[-- Attachment #1.2: Type: text/html, Size: 1955 bytes --]
[-- Attachment #2: marius.monton.vcf --]
[-- Type: text/x-vcard, Size: 350 bytes --]
begin:vcard
fn;quoted-printable:M=C3=A0rius Mont=C3=B3n
n;quoted-printable;quoted-printable:Mont=C3=B3n;M=C3=A0rius
org:CEPHIS-UAB
adr:Campus de la Autonoma;;QC-2090D. ETSE;Bellaterra;Barcelona;08193;Spain
email;internet:marius.monton@uab.cat
title:System Engineer
tel;work:+34935813534
url:http://cephis.uab.cat
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] problems using sockets inside qemu code
2007-03-14 14:23 [Qemu-devel] problems using sockets inside qemu code Marius Monton
@ 2007-03-14 14:58 ` Paul Brook
0 siblings, 0 replies; 2+ messages in thread
From: Paul Brook @ 2007-03-14 14:58 UTC (permalink / raw)
To: qemu-devel; +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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-14 14:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-14 14:23 [Qemu-devel] problems using sockets inside qemu code Marius Monton
2007-03-14 14:58 ` Paul Brook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).