From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3d824959ef461baa,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-03 03:43:41 PST Path: archiver1.google.com!news2.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!area.cu.mi.it!newsfeeder.edisontel.com!itgate.net!news-out.tin.it!news-in.tin.it!news.finmeccanica.it!not-for-mail From: "Riccardo Fulcoli" Newsgroups: comp.lang.ada Subject: task blocked using GNATSOCKETS Date: Fri, 3 Oct 2003 11:52:27 +0200 Organization: AMS S.p.A. Message-ID: NNTP-Posting-Host: 172.26.101.146 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:145 Date: 2003-10-03T11:52:27+02:00 List-Id: 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