comp.lang.ada
 help / color / mirror / Atom feed
From: "Riccardo Fulcoli" <kk@kk.com>
Subject: task blocked using GNATSOCKETS
Date: Fri, 3 Oct 2003 11:52:27 +0200
Date: 2003-10-03T11:52:27+02:00	[thread overview]
Message-ID: <bljgud$s47$1@e3k.asi.ansaldo.it> (raw)

Hi there!

I've got a problem.
In a task in wich I use gnat sockets I cannot get one exception if an
abnormal condition is presented.

In particular if another program has already a socket on a particular
address and port that I want to use no errors messages are presented but my
task simply waits indefinitely.

In the other hand if I use the same code in a procedure that is not a task I
can get the exception:

"raised GNAT.SOCKETS.SOCKET_ERROR : [125] Address already in use"

I'm supposing this belongs by the fact that I'm using a task.

Maybe I may copile with some kind of special flag??

Someone could help me?

Tanks!

Riccardo





             reply	other threads:[~2003-10-03  9:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-03  9:52 Riccardo Fulcoli [this message]
2003-10-03 11:12 ` task blocked using GNATSOCKETS Jeff C,
2003-10-04  1:03 ` Craig Carey
2003-10-22  8:58   ` Craig Carey
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox