From: Mark Lorenzen <mark.lorenzen@surfpost.dk>
Subject: Re: Problems witth non-blocking TCP I/O
Date: 21 Apr 2005 10:37:47 +0200
Date: 2005-04-21T10:37:47+02:00 [thread overview]
Message-ID: <m3oec84jac.fsf@0x535ddc81.boanxx18.adsl-dhcp.tele.dk> (raw)
In-Reply-To: d18a5f0d.0504201515.6af1bc2c@posting.google.com
frankgerlach@gmail.com (Frank Gerlach) writes:
> I am currently trying to write a TCP server using GNAT. When I test
> this server from telnet, it blocks in Receive_Socket() until there are
> bytes to read.
> If I do the same with a small Ada program, it doesn't block any more.
> Why is this ?
<snip a lot of code>
If you are running on Linux, try to "strace" the server and see which
system calls are actually performed.
- Mark Lorenzen
prev parent reply other threads:[~2005-04-21 8:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-20 23:15 Problems witth non-blocking TCP I/O Frank Gerlach
2005-04-21 8:37 ` Mark Lorenzen [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox