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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1931a7946547d095 X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: Sockets in Apex Date: 2000/02/09 Message-ID: <87sgpl$rr9$1@nnrp1.deja.com>#1/1 X-Deja-AN: 583769181 References: <87s92v$lke$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x25.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Feb 09 19:56:41 2000 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.7 [en] (WinNT; I) Date: 2000-02-09T00:00:00+00:00 List-Id: In article <87s92v$lke$1@nnrp1.deja.com>, reason67@my-deja.com wrote: > When I connect a non-blocking client socket in a task in the threaded > model, errno does not seem to be set by the underlying C. When I run > in the non-threaded model, or I connect the client without any tasks > (just the main), or I make the socket block, everything works fine. I don't have access to your system docs, but I'd bet the answer's in there. Typically threaded C libraries update a per-thread version of errno, rather than the global errno. The reason for doing it this way should be obvious. -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/ Before you buy.