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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8ee4430d1820a774,start X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!e67g2000hsc.googlegroups.com!not-for-mail From: gpriv@axonx.com Newsgroups: comp.lang.ada Subject: GNAT.Sockets: Timeval_Duration is in milliseconds? Date: Sat, 8 Dec 2007 11:45:34 -0800 (PST) Organization: http://groups.google.com Message-ID: <9d687056-c98b-405a-b166-afddac34f109@e67g2000hsc.googlegroups.com> NNTP-Posting-Host: 151.196.71.114 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1197143135 27957 127.0.0.1 (8 Dec 2007 19:45:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 8 Dec 2007 19:45:35 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e67g2000hsc.googlegroups.com; posting-host=151.196.71.114; posting-account=YaY8rAoAAAAAnFXOECY3BGVJsrvFJCgy User-Agent: G2/1.0 X-HTTP-Via: 1.1 SPARKS X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:18791 Date: 2007-12-08T11:45:34-08:00 List-Id: Hello, I find it somewhat misleading that Timeout values use different scale than Ada duration while share that type (not Ada way). Is there a purpose in that (other than direct translation in socket library). It does cost some headache to figure that out and it would be more appropriate in Ada style to make a new type for timeouts or scale it back to seconds. Anyone would agree? George