comp.lang.ada
 help / color / mirror / Atom feed
* task blocked using GNATSOCKETS
@ 2003-10-03  9:52 Riccardo Fulcoli
  2003-10-03 11:12 ` Jeff C,
  2003-10-04  1:03 ` Craig Carey
  0 siblings, 2 replies; 4+ messages in thread
From: Riccardo Fulcoli @ 2003-10-03  9:52 UTC (permalink / 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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-10-22  8:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-03  9:52 task blocked using GNATSOCKETS Riccardo Fulcoli
2003-10-03 11:12 ` Jeff C,
2003-10-04  1:03 ` Craig Carey
2003-10-22  8:58   ` Craig Carey

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