comp.lang.ada
 help / color / mirror / Atom feed
From: Jano <nono@celes.unizar.es>
Subject: Gnat.Sockets and non-blocking connects
Date: Sun, 29 Jun 2003 14:26:48 +0200
Date: 2003-06-29T14:26:48+02:00	[thread overview]
Message-ID: <MPG.1968f971473a807b989729@News.CIS.DFN.DE> (raw)

Hello!

I posted some time ago about non-blocking connects, and all went well. 
However, I have faced a new necessity I'm not sure how to address.

I'm trying to determine if a asynchronous connect has failed. When it 
ends successfully, I detect it with a select checking for writeability. 
However, it seems I must check the exception set to detect failure. 

The problem is that Gnat.Sockets doesn't implement the exception 
selector in its Select.

Any workarounds? I can't figure one right now.

TIA,

-- 
-------------------------
Jano
402450.at.cepsz.unizar.es
-------------------------



             reply	other threads:[~2003-06-29 12:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-29 12:26 Jano [this message]
2003-06-29 13:42 ` Gnat.Sockets and non-blocking connects Florian Weimer
2003-06-29 14:17   ` Samuel Tardieu
2003-06-29 14:29     ` Florian Weimer
2003-06-29 18:07       ` Jano
2003-06-29 20:50         ` Florian Weimer
2003-06-29 21:13           ` Samuel Tardieu
2003-06-29 21:27             ` Florian Weimer
2003-06-29 22:38               ` Samuel Tardieu
2003-06-29 23:00                 ` Jano
2003-06-29 23:00           ` Jano
2003-06-30 15:07             ` Jano
replies disabled

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